diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-10-11 19:56:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-11 19:56:43 +0200 |
| commit | 5edfdc53ebb97616a6a72031b2e28ec7865d6ab8 (patch) | |
| tree | 9d5b542652e576f865abf0c97a37ee272210ae2e /editor/plugins/script_editor_plugin.cpp | |
| parent | 188e08307ee79920815ad4e5df2a7d2a60c649a0 (diff) | |
| parent | 3010bca41ba31fdb5c3c4b7181fd92f8e8f116aa (diff) | |
| download | redot-engine-5edfdc53ebb97616a6a72031b2e28ec7865d6ab8.tar.gz | |
Merge pull request #53681 from Paulb23/rejig-syntax-highligher-bind
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")); |
