class-description NEWS COMMUNITY STORE TUTORIALS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectNodeCanvasItemControlContainerPanelContainer ScriptEditor
Godot editor's script editor.

Godot editor's script editor.

editor_script_changed editor_script_changed<>( Script script=, script:Script=, ):editor_script_changed

Emitted when user changed active script. Argument is a freshly activated Script.

script_close script_close<>( Script script=, script:Script=, ):script_close

Emitted when editor is about to close the active script. Argument is a Script that is going to be closed.

ScriptEditorBase get_current_editor<>():ScriptEditorBase

Returns the ScriptEditorBase object that the user is currently editing.

Script get_current_script<>():Script

Returns a Script that is currently active in editor.

ScriptEditorBase[] get_open_script_editors<>():ScriptEditorBase[]

Returns an array with all ScriptEditorBase objects which are currently open in editor.

Script[] get_open_scripts<>():Script[]

Returns an array with all Script objects which are currently open in editor.

void goto_line<>( int line_number=, line_number:int=, ):void

Goes to the specified line in the current script.

void open_script_create_dialog<>( String base_name=, base_name:String=, String base_path=, base_path:String=, ):void

Opens the script create dialog. The script will extend base_name. The file extension can be omitted from base_path. It will be added based on the selected scripting language.

void register_syntax_highlighter<>( EditorSyntaxHighlighter syntax_highlighter=, syntax_highlighter:EditorSyntaxHighlighter=, ):void

Registers the EditorSyntaxHighlighter to the editor, the EditorSyntaxHighlighter will be available on all open scripts.

Note: Does not apply to scripts that are already opened.

void unregister_syntax_highlighter<>( EditorSyntaxHighlighter syntax_highlighter=, syntax_highlighter:EditorSyntaxHighlighter=, ):void

Unregisters the EditorSyntaxHighlighter from the editor.

Note: The EditorSyntaxHighlighter will still be applied to scripts that are already opened.




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...