mirror of
https://github.com/godotengine/godot.git
synced 2025-10-28 04:04:24 +00:00
Move add_syntax_highlighter bind to ScriptEditorBase
This commit is contained in:
parent
94ce83beff
commit
3010bca41b
7 changed files with 9 additions and 11 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue