summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_editor_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/script_editor_plugin.h')
-rw-r--r--editor/plugins/script_editor_plugin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h
index d5c33c73b4..0252e10b43 100644
--- a/editor/plugins/script_editor_plugin.h
+++ b/editor/plugins/script_editor_plugin.h
@@ -78,6 +78,7 @@ class EditorStandardSyntaxHighlighter : public EditorSyntaxHighlighter {
private:
Ref<CodeHighlighter> highlighter;
+ ScriptLanguage *script_language = nullptr; // See GH-89610.
public:
virtual void _update_cache() override;
@@ -87,6 +88,8 @@ public:
virtual Ref<EditorSyntaxHighlighter> _create() const override;
+ void _set_script_language(ScriptLanguage *p_script_language) { script_language = p_script_language; }
+
EditorStandardSyntaxHighlighter() { highlighter.instantiate(); }
};
@@ -496,6 +499,7 @@ class ScriptEditor : public PanelContainer {
void _on_find_in_files_result_selected(const String &fpath, int line_number, int begin, int end);
void _start_find_in_files(bool with_replace);
void _on_find_in_files_modified_files(const PackedStringArray &paths);
+ void _on_find_in_files_close_button_clicked();
void _set_zoom_factor(float p_zoom_factor);