ScriptEditorBase
Hérite de : 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.
Méthodes
void |
add_syntax_highlighter(highlighter: EditorSyntaxHighlighter) |
get_base_editor() const |
Signaux
edited_script_changed() 🔗
Émis après la validation du script.
Emitted when the user requests a specific documentation page.
go_to_method(script: Object, method: String) 🔗
Emitted when the user requests to view a specific method of a script, similar to request_open_script_at_line.
name_changed() 🔗
Emitted after script validation or when the edited resource has changed.
replace_in_files_requested(text: String) 🔗
Emitted when the user request to find and replace text in the file system.
Émis lorsque l'utilisateur demande une aide contextuelle.
request_open_script_at_line(script: Object, line: int) 🔗
Émis lorsque l'utilisateur demande de voir une ligne spécifique d'un script, semblable à go_to_method.
request_save_history() 🔗
Emitted when the user contextual goto and the item is in the same script.
request_save_previous_state(state: Dictionary) 🔗
Émis lorsque l'utilisateur modifie le script courant ou déplace le curseur de 10 colonnes ou plus dans le même script.
search_in_files_requested(text: String) 🔗
Émis lorsque l'utilisateur demande à rechercher du texte dans le système de fichiers.
Descriptions des méthodes
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.