diff options
author | Paulb23 <p_batty@hotmail.co.uk> | 2021-10-11 18:13:31 +0100 |
---|---|---|
committer | Paulb23 <p_batty@hotmail.co.uk> | 2021-10-11 18:13:31 +0100 |
commit | 3010bca41ba31fdb5c3c4b7181fd92f8e8f116aa (patch) | |
tree | 8de8311e06aeab3e12551750b50a71c5c82e385f /editor/plugins/script_editor_plugin.cpp | |
parent | 94ce83beff04b35aa3d5812a210ea4f34028e054 (diff) |
Move add_syntax_highlighter bind to ScriptEditorBase
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 5df6743f4c..ca6ecfbd3a 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -214,6 +214,7 @@ Ref<EditorSyntaxHighlighter> EditorPlainTextSyntaxHighlighter::_create() const { void ScriptEditorBase::_bind_methods() { ClassDB::bind_method(D_METHOD("get_base_editor"), &ScriptEditorBase::get_base_editor); + ClassDB::bind_method(D_METHOD("add_syntax_highlighter", "highlighter"), &ScriptEditorBase::add_syntax_highlighter); ADD_SIGNAL(MethodInfo("name_changed")); ADD_SIGNAL(MethodInfo("edited_script_changed")); |