ScriptEditorBase¶
Inherits: VBoxContainer < BoxContainer < Container < Control < CanvasItem < Node < Object
Base editor for editing scripts in the ScriptEditor.
Description¶
Base editor for editing scripts in the ScriptEditor, this does not include documentation items.
Methods¶
void |
add_syntax_highlighter ( EditorSyntaxHighlighter highlighter ) |
get_base_editor ( ) const |
Signals¶
edited_script_changed ( )
Emitted after script validation. For visual scripts on modification.
go_to_help ( String what )
Emitted when the user requests a specific documentation page.
name_changed ( )
Emitted after script validation or when the edited resource has changed. Not used by visual scripts.
replace_in_files_requested ( String text )
Emitted when the user request to find and replace text in the file system. Not used by visual scripts.
request_help ( String topic )
Emitted when the user requests contextual help.
Emitted when the user requests a script.
request_save_history ( )
Emitted when the user contextual goto and the item is in the same script.
search_in_files_requested ( String text )
Emitted when the user request to search text in the file system. Not used by visual scripts.
Method Descriptions¶
void add_syntax_highlighter ( EditorSyntaxHighlighter highlighter )
Adds a EditorSyntaxHighlighter to the open script.
Control get_base_editor ( ) const
Returns the underlying Control used for editing scripts. This can be either CodeEdit (for text scripts) or GraphEdit (for visual scripts).