diff options
author | sent44 <sentbysent@gmail.com> | 2021-05-14 02:50:25 +0700 |
---|---|---|
committer | sent44 <sentbysent@gmail.com> | 2021-05-15 18:47:00 +0700 |
commit | 2b30728ebf266956ebe2d6e3b26d0eb4a729d25a (patch) | |
tree | 8679a84ffda1ca37ee0f96d01cf328e3ad004236 /doc | |
parent | a3dd18b12e13938492e571cfabf0ec514bf97c75 (diff) |
Add get_base_editor to ScriptEditorBase
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/ScriptEditorBase.xml | 7 |
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"> |