godot/doc/classes/ScriptEditorBase.xml

77 lines
2.5 KiB
XML
Raw Normal View History

2020-07-15 06:43:21 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name="ScriptEditorBase" inherits="VBoxContainer" version="4.0">
<brief_description>
2020-10-11 16:07:33 +00:00
Base editor for editing scripts in the [ScriptEditor].
2020-07-15 06:43:21 +00:00
</brief_description>
<description>
2020-10-11 16:07:33 +00:00
Base editor for editing scripts in the [ScriptEditor], this does not include documentation items.
2020-07-15 06:43:21 +00:00
</description>
<tutorials>
</tutorials>
<methods>
<method name="_add_syntax_highlighter" qualifiers="virtual">
<return type="void" />
<argument index="0" name="highlighter" type="Object" />
2020-07-15 06:43:21 +00:00
<description>
2020-10-11 16:07:33 +00:00
Adds a [EditorSyntaxHighlighter] to the open script.
2020-07-15 06:43:21 +00:00
</description>
</method>
<method name="get_base_editor" qualifiers="const">
<return type="Control" />
<description>
Returns the underlying [Control] used for editing scripts. This can be either [CodeEdit] (for text scripts) or [GraphEdit] (for visual scripts).
</description>
</method>
2020-07-15 06:43:21 +00:00
</methods>
<signals>
<signal name="edited_script_changed">
<description>
2020-10-11 16:07:33 +00:00
Emitted after script validation. For visual scripts on modification.
2020-07-15 06:43:21 +00:00
</description>
</signal>
<signal name="go_to_help">
<argument index="0" name="what" type="String" />
2020-07-15 06:43:21 +00:00
<description>
2020-10-11 16:07:33 +00:00
Emitted when the user requests a specific documentation page.
2020-07-15 06:43:21 +00:00
</description>
</signal>
<signal name="name_changed">
<description>
2020-10-11 16:07:33 +00:00
Emitted after script validation or when the edited resource has changed. Not used by visual scripts.
2020-07-15 06:43:21 +00:00
</description>
</signal>
<signal name="replace_in_files_requested">
<argument index="0" name="text" type="String" />
2020-07-15 06:43:21 +00:00
<description>
2020-10-11 16:07:33 +00:00
Emitted when the user request to find and replace text in the file system. Not used by visual scripts.
2020-07-15 06:43:21 +00:00
</description>
</signal>
<signal name="request_help">
<argument index="0" name="topic" type="String" />
2020-07-15 06:43:21 +00:00
<description>
2020-10-11 16:07:33 +00:00
Emitted when the user requests contextual help.
2020-07-15 06:43:21 +00:00
</description>
</signal>
<signal name="request_open_script_at_line">
<argument index="0" name="script" type="Object" />
<argument index="1" name="line" type="int" />
2020-07-15 06:43:21 +00:00
<description>
2020-10-11 16:07:33 +00:00
Emitted when the user requests a script.
2020-07-15 06:43:21 +00:00
</description>
</signal>
<signal name="request_save_history">
<description>
2020-10-11 16:07:33 +00:00
Emitted when the user contextual goto and the item is in the same script.
2020-07-15 06:43:21 +00:00
</description>
</signal>
<signal name="search_in_files_requested">
<argument index="0" name="text" type="String" />
2020-07-15 06:43:21 +00:00
<description>
2020-10-11 16:07:33 +00:00
Emitted when the user request to search text in the file system. Not used by visual scripts.
2020-07-15 06:43:21 +00:00
</description>
</signal>
</signals>
<constants>
</constants>
</class>