summaryrefslogtreecommitdiff
path: root/editor/plugins/script_text_editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/script_text_editor.h')
-rw-r--r--editor/plugins/script_text_editor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/plugins/script_text_editor.h b/editor/plugins/script_text_editor.h
index 2ba0be8feb..82d365fcaa 100644
--- a/editor/plugins/script_text_editor.h
+++ b/editor/plugins/script_text_editor.h
@@ -55,7 +55,6 @@ class ScriptTextEditor : public ScriptEditorBase {
GDCLASS(ScriptTextEditor, ScriptEditorBase);
- CodeTextEditor *code_editor;
RichTextLabel *warnings_panel;
Ref<Script> script;
@@ -187,6 +186,8 @@ protected:
void drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from);
public:
+ CodeTextEditor *code_editor;
+
void _update_connected_methods();
virtual void add_syntax_highlighter(SyntaxHighlighter *p_highlighter);