summaryrefslogtreecommitdiff
path: root/editor/code_editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/code_editor.h')
-rw-r--r--editor/code_editor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/code_editor.h b/editor/code_editor.h
index a4cd521afa..6d85f353f9 100644
--- a/editor/code_editor.h
+++ b/editor/code_editor.h
@@ -145,6 +145,7 @@ class CodeTextEditor : public VBoxContainer {
FindReplaceBar *find_replace_bar;
HBoxContainer *status_bar;
+ ToolButton *toggle_scripts_button;
ToolButton *warning_button;
Label *warning_count_label;
@@ -186,6 +187,7 @@ class CodeTextEditor : public VBoxContainer {
void _error_pressed(const Ref<InputEvent> &p_event);
void _delete_line(int p_line);
+ void _toggle_scripts_pressed();
protected:
virtual void _load_theme_settings() {}
@@ -253,6 +255,8 @@ public:
void validate_script();
+ void show_toggle_scripts_button();
+
CodeTextEditor();
};