|
@@ -55,6 +55,7 @@ class ScriptTextEditor : public ScriptEditorBase {
|
|
|
|
|
|
GDCLASS(ScriptTextEditor, ScriptEditorBase);
|
|
GDCLASS(ScriptTextEditor, ScriptEditorBase);
|
|
|
|
|
|
|
|
+ CodeTextEditor *code_editor;
|
|
RichTextLabel *warnings_panel;
|
|
RichTextLabel *warnings_panel;
|
|
|
|
|
|
Ref<Script> script;
|
|
Ref<Script> script;
|
|
@@ -186,12 +187,11 @@ protected:
|
|
void drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from);
|
|
void drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from);
|
|
|
|
|
|
public:
|
|
public:
|
|
- CodeTextEditor *code_editor;
|
|
|
|
-
|
|
|
|
void _update_connected_methods();
|
|
void _update_connected_methods();
|
|
|
|
|
|
virtual void add_syntax_highlighter(SyntaxHighlighter *p_highlighter);
|
|
virtual void add_syntax_highlighter(SyntaxHighlighter *p_highlighter);
|
|
virtual void set_syntax_highlighter(SyntaxHighlighter *p_highlighter);
|
|
virtual void set_syntax_highlighter(SyntaxHighlighter *p_highlighter);
|
|
|
|
+ void update_toggle_scripts_button();
|
|
|
|
|
|
virtual void apply_code();
|
|
virtual void apply_code();
|
|
virtual RES get_edited_resource() const;
|
|
virtual RES get_edited_resource() const;
|