Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
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(highlighter: EditorSyntaxHighlighter) |
get_base_editor() const |
Signals
edited_script_changed() 🔗
Deprecated: This signal should only be used internally.
Emitted after script validation.
Deprecated: This signal should only be used internally. See ScriptEditor.goto_help() instead.
Emitted when the user requests a specific documentation page.
go_to_method(script: Object, method: String) 🔗
Deprecated: This signal should only be used internally.
Emitted when the user requests to view a specific method of a script, similar to request_open_script_at_line.
name_changed() 🔗
Deprecated: This signal should only be used internally.
Emitted after script validation or when the edited resource has changed.
replace_in_files_requested(text: String) 🔗
Deprecated: This signal should only be used internally.
Emitted when the user request to find and replace text in the file system.
Deprecated: This signal should only be used internally.
Emitted when the user requests contextual help.
request_open_script_at_line(script: Object, line: int) 🔗
Deprecated: This signal should only be used internally. See EditorInterface.edit_script() instead.
Emitted when the user requests to view a specific line of a script, similar to go_to_method.
request_save_history() 🔗
Deprecated: This signal should only be used internally.
Emitted when the editor requests to save a new history navigation point.
request_save_previous_state(state: Dictionary) 🔗
Deprecated: This signal should only be used internally.
Emitted when the editor requests an update to its navigation point.
search_in_files_requested(text: String) 🔗
Deprecated: This signal should only be used internally.
Emitted when the user request to search text in the file system.
Method Descriptions
void add_syntax_highlighter(highlighter: EditorSyntaxHighlighter) 🔗
Adds an EditorSyntaxHighlighter to the open script.
Control get_base_editor() const 🔗
Returns the underlying Control used for editing scripts. For text scripts, this is a CodeEdit.