summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorsent44 <sentbysent@gmail.com>2021-05-14 02:50:25 +0700
committersent44 <sentbysent@gmail.com>2021-05-15 18:47:00 +0700
commit2b30728ebf266956ebe2d6e3b26d0eb4a729d25a (patch)
tree8679a84ffda1ca37ee0f96d01cf328e3ad004236 /editor/plugins/script_editor_plugin.cpp
parenta3dd18b12e13938492e571cfabf0ec514bf97c75 (diff)
downloadredot-engine-2b30728ebf266956ebe2d6e3b26d0eb4a729d25a.tar.gz
Add get_base_editor to ScriptEditorBase
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r--editor/plugins/script_editor_plugin.cpp2
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")));