diff options
Diffstat (limited to 'doc/classes/ScriptEditorBase.xml')
-rw-r--r-- | doc/classes/ScriptEditorBase.xml | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/doc/classes/ScriptEditorBase.xml b/doc/classes/ScriptEditorBase.xml index 3bed1127ee..a3fcf53228 100644 --- a/doc/classes/ScriptEditorBase.xml +++ b/doc/classes/ScriptEditorBase.xml @@ -11,7 +11,7 @@ <methods> <method name="add_syntax_highlighter"> <return type="void" /> - <argument index="0" name="highlighter" type="EditorSyntaxHighlighter" /> + <param index="0" name="highlighter" type="EditorSyntaxHighlighter" /> <description> Adds a [EditorSyntaxHighlighter] to the open script. </description> @@ -19,44 +19,51 @@ <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). + Returns the underlying [Control] used for editing scripts. For text scripts, this is a [CodeEdit]. </description> </method> </methods> <signals> <signal name="edited_script_changed"> <description> - Emitted after script validation. For visual scripts on modification. + Emitted after script validation. </description> </signal> <signal name="go_to_help"> - <argument index="0" name="what" type="String" /> + <param index="0" name="what" type="String" /> <description> Emitted when the user requests a specific documentation page. </description> </signal> + <signal name="go_to_method"> + <param index="0" name="script" type="Object" /> + <param index="1" name="method" type="String" /> + <description> + Emitted when the user requests to view a specific method of a script, similar to [signal request_open_script_at_line]. + </description> + </signal> <signal name="name_changed"> <description> - Emitted after script validation or when the edited resource has changed. Not used by visual scripts. + Emitted after script validation or when the edited resource has changed. </description> </signal> <signal name="replace_in_files_requested"> - <argument index="0" name="text" type="String" /> + <param index="0" name="text" type="String" /> <description> - Emitted when the user request to find and replace text in the file system. Not used by visual scripts. + Emitted when the user request to find and replace text in the file system. </description> </signal> <signal name="request_help"> - <argument index="0" name="topic" type="String" /> + <param index="0" name="topic" type="String" /> <description> Emitted when the user requests contextual help. </description> </signal> <signal name="request_open_script_at_line"> - <argument index="0" name="script" type="Object" /> - <argument index="1" name="line" type="int" /> + <param index="0" name="script" type="Object" /> + <param index="1" name="line" type="int" /> <description> - Emitted when the user requests a script. + Emitted when the user requests to view a specific line of a script, similar to [signal go_to_method]. </description> </signal> <signal name="request_save_history"> @@ -65,9 +72,9 @@ </description> </signal> <signal name="search_in_files_requested"> - <argument index="0" name="text" type="String" /> + <param index="0" name="text" type="String" /> <description> - Emitted when the user request to search text in the file system. Not used by visual scripts. + Emitted when the user request to search text in the file system. </description> </signal> </signals> |