Add get_base_editor to ScriptEditorBase

This commit is contained in:
sent44
2021-05-14 02:50:25 +07:00
parent a3dd18b12e
commit 2b30728ebf
9 changed files with 29 additions and 0 deletions

View File

@@ -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">