Inheritance #
- AudioServer
- CameraServer
- ClassDB
- DisplayServer
- EditorFileSystemDirectory
- EditorInterface
- EditorPaths
- EditorSelection
- EditorUndoRedoManager
- EditorVCSInterface
- Engine
- EngineDebugger
- FramebufferCacheRD
- GDExtensionManager
- Geometry2D
- Geometry3D
- IP
- Input
- InputMap
- JNISingleton
- JSONRPC
- JavaClassWrapper
- JavaScriptBridge
- MainLoop (1)
- Marshalls
- MovieWriter
- NativeMenu
- NavigationMeshGenerator
- NavigationServer2D
- NavigationServer3D
- Node (21)
- OS
- OpenXRExtensionWrapperExtension
- OpenXRInteractionProfileMetadata
- Performance
- PhysicsDirectBodyState2D (1)
- PhysicsDirectBodyState3D (1)
- PhysicsDirectSpaceState2D (1)
- PhysicsDirectSpaceState3D (1)
- PhysicsServer2D (1)
- PhysicsServer2DManager
- PhysicsServer3D (1)
- PhysicsServer3DManager
- PhysicsServer3DRendering
ServerHandler
- ProjectSettings
- RefCounted (121)
- RenderData (2)
- RenderSceneData (2)
- RenderingDevice
- RenderingServer
- ResourceLoader
- ResourceSaver
- ResourceUID
- ScriptLanguage (1)
- ShaderIncludeDB
- TextServerManager
- ThemeDB
- TileData
- Time
- TranslationServer
- TreeItem
- UndoRedo
- UniformSetCacheRD
- WorkerThreadPool
- XRServer
- XRVRS
- AnimationMixer (2)
- AudioStreamPlayer
- CanvasItem (2)
- CanvasLayer (1)
- EditorFileSystem
- EditorPlugin (1)
- EditorResourcePreview
- HTTPRequest
- InstancePlaceholder
- MissingNode
- MultiplayerSpawner
- MultiplayerSynchronizer
- NavigationAgent2D
- NavigationAgent3D
- Node3D (31)
- ResourcePreloader
- ShaderGlobalsOverride
- StatusIndicator
- Timer
- Viewport (2)
- WorldEnvironment
- BaseButton (3)
- ColorRect
- Container (13)
- GraphEdit
- ItemList
- Label
- LineEdit
- MenuBar
- NinePatchRect
- Panel
- Range (6)
- ReferenceRect
- RichTextLabel
- Separator (2)
- TabBar
- TextEdit (1)
- TextureRect
- Tree
- VideoStreamPlayer
- AspectRatioContainer
- BoxContainer (2)
- CenterContainer
- EditorProperty
- FlowContainer (2)
- GraphElement (2)
- GridContainer
- MarginContainer
- PanelContainer (2)
- ScrollContainer (1)
- SplitContainer (2)
- SubViewportContainer
- TabContainer
Table of contents
-
func add_syntax_highlighter(highlighter: EditorSyntaxHighlighter) -> void -
const func get_base_editor() -> Control -
signal edited_script_changed() -
signal go_to_help(what: String) -
signal go_to_method(method: String) -
signal name_changed() -
signal replace_in_files_requested(text: String) -
signal request_help(topic: String) -
signal request_open_script_at_line(line: int) -
signal request_save_history() -
signal request_save_previous_state(state: Dictionary) -
signal search_in_files_requested(text: String)
ScriptEditorBase #
Node, editor, not_builtin_classes
Base editor for editing scripts in the ScriptEditor.
Base editor for editing scripts in the ScriptEditor. This does not include documentation items.
Members #
Methods #
func add_syntax_highlighter(highlighter: EditorSyntaxHighlighter) -> void#
Adds a EditorSyntaxHighlighter to the open script.
const func get_base_editor() -> Control#
Returns the underlying Control used for editing scripts. For text scripts, this is a CodeEdit.
Annotations #
Constants #
Constructors #
Enums #
Operators #
Signals #
signal edited_script_changed()#
Emitted after script validation.
signal go_to_help(what: String)#
Emitted when the user requests a specific documentation page.
signal go_to_method(method: String)#
Emitted when the user requests to view a specific method of a script, similar to request_open_script_at_line.
signal name_changed()#
Emitted after script validation or when the edited resource has changed.
signal replace_in_files_requested(text: String)#
Emitted when the user request to find and replace text in the file system.
signal request_help(topic: String)#
Emitted when the user requests contextual help.
signal request_open_script_at_line(line: int)#
Emitted when the user requests to view a specific line of a script, similar to go_to_method.
signal request_save_history()#
Emitted when the user contextual goto and the item is in the same script.
signal request_save_previous_state(state: Dictionary)#
Emitted when the user changes current script or moves caret by 10 or more columns within the same script.
signal search_in_files_requested(text: String)#
Emitted when the user request to search text in the file system.