Move add_syntax_highlighter bind to ScriptEditorBase

This commit is contained in:
Paulb23 2021-10-11 18:13:31 +01:00
parent 94ce83beff
commit 3010bca41b
7 changed files with 9 additions and 11 deletions

View file

@ -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"));