diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-05-16 23:06:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-16 23:06:01 +0200 |
commit | 37c3b332538c81ef02c8e5b8d1be979b78d1aaa4 (patch) | |
tree | bf76c1bd73e13b9c49e68e596e3cbe229ab066f7 /editor/plugins/script_editor_plugin.cpp | |
parent | 2dadcde361d4f9e62f24a2cb9cb334b09b25bbcd (diff) | |
parent | 2b30728ebf266956ebe2d6e3b26d0eb4a729d25a (diff) |
Merge pull request #48605 from sent44/scripteditor_get_codeedit
Add `get_base_editor` to `ScriptEditorBase`
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 8c4c5a3461..893a9356a2 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -218,6 +218,8 @@ Ref<EditorSyntaxHighlighter> EditorPlainTextSyntaxHighlighter::_create() const { /*** SCRIPT EDITOR ****/ void ScriptEditorBase::_bind_methods() { + ClassDB::bind_method(D_METHOD("get_base_editor"), &ScriptEditorBase::get_base_editor); + ADD_SIGNAL(MethodInfo("name_changed")); ADD_SIGNAL(MethodInfo("edited_script_changed")); ADD_SIGNAL(MethodInfo("request_help", PropertyInfo(Variant::STRING, "topic"))); |