summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_text_editor.cpp
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2019-12-18 22:32:25 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2019-12-19 09:30:40 +0300
commitc89df816c1f1e2c1c43776be60e5cf78ad452c36 (patch)
tree6f4ed06331bc8599fab7468f78af24e3262c7cda /editor/plugins/script_text_editor.cpp
parent9cda7f73339f8899fa0a8d0a7ca9e9a002a202ce (diff)
downloadredot-engine-c89df816c1f1e2c1c43776be60e5cf78ad452c36.tar.gz
Fix ScriptTextEditor encapsulation
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r--editor/plugins/script_text_editor.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp
index 9bda0f50e4..ec1cda5287 100644
--- a/editor/plugins/script_text_editor.cpp
+++ b/editor/plugins/script_text_editor.cpp
@@ -966,6 +966,12 @@ void ScriptTextEditor::_lookup_symbol(const String &p_symbol, int p_row, int p_c
}
}
+void ScriptTextEditor::update_toggle_scripts_button() {
+ if (code_editor != NULL) {
+ code_editor->update_toggle_scripts_button();
+ }
+}
+
void ScriptTextEditor::_update_connected_methods() {
TextEdit *text_edit = code_editor->get_text_edit();
text_edit->clear_info_icons();