summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-05-16 23:06:01 +0200
committerGitHub <noreply@github.com>2021-05-16 23:06:01 +0200
commit37c3b332538c81ef02c8e5b8d1be979b78d1aaa4 (patch)
treebf76c1bd73e13b9c49e68e596e3cbe229ab066f7 /doc/classes
parent2dadcde361d4f9e62f24a2cb9cb334b09b25bbcd (diff)
parent2b30728ebf266956ebe2d6e3b26d0eb4a729d25a (diff)
Merge pull request #48605 from sent44/scripteditor_get_codeedit
Add `get_base_editor` to `ScriptEditorBase`
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/ScriptEditorBase.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/ScriptEditorBase.xml b/doc/classes/ScriptEditorBase.xml
index ee498de302..e5c4c32450 100644
--- a/doc/classes/ScriptEditorBase.xml
+++ b/doc/classes/ScriptEditorBase.xml
@@ -18,6 +18,13 @@
Adds a [EditorSyntaxHighlighter] to the open script.
</description>
</method>
+ <method name="get_base_editor" qualifiers="const">
+ <return type="Control">
+ </return>
+ <description>
+ Returns the underlying [Control] used for editing scripts. This can be either [CodeEdit] (for text scripts) or [GraphEdit] (for visual scripts).
+ </description>
+ </method>
</methods>
<signals>
<signal name="edited_script_changed">