summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/code_editor.h')
-rw-r--r--editor/code_editor.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/editor/code_editor.h b/editor/code_editor.h
index 28f6944b66..e56405a4b2 100644
--- a/editor/code_editor.h
+++ b/editor/code_editor.h
@@ -161,6 +161,7 @@ class CodeTextEditor : public VBoxContainer {
HBoxContainer *status_bar = nullptr;
Button *toggle_scripts_button = nullptr;
+ Control *toggle_scripts_list = nullptr;
Button *error_button = nullptr;
Button *warning_button = nullptr;
@@ -246,9 +247,9 @@ public:
/// by adding or removing comment delimiter
void toggle_inline_comment(const String &delimiter);
- void goto_line(int p_line);
+ void goto_line(int p_line, int p_column = 0);
void goto_line_selection(int p_line, int p_begin, int p_end);
- void goto_line_centered(int p_line);
+ void goto_line_centered(int p_line, int p_column = 0);
void set_executing_line(int p_line);
void clear_executing_line();
@@ -285,6 +286,7 @@ public:
void validate_script();
+ void set_toggle_list_control(Control *p_control);
void show_toggle_scripts_button();
void update_toggle_scripts_button();