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.

Signals

  • edited_script_changed ( )

Emitted after script validation. For visual scripts on modification.


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.


  • request_open_script_at_line ( Object script, int line )

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

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).