ScriptEditorBase
Base editor for editing scripts in the ScriptEditor.
class ScriptEditorBaseBase editor for editing scripts in the ScriptEditor. This does not include documentation items.
This object emits the following signals:
Base editor for editing scripts in the ScriptEditor.
class ScriptEditorBaseBase editor for editing scripts in the ScriptEditor. This does not include documentation items.
This object emits the following signals:
import SwiftGodotFramework to write Godot Game Extensions using the Swift Programming Language.
class ScriptEditorGodot editor’s script editor.
var nameChanged: SimpleSignal { get }Emitted after script validation or when the edited resource has changed.
var editedScriptChanged: SimpleSignal { get }Emitted after script validation.
var requestHelp: Signal1 { get }Emitted when the user requests contextual help.
var requestOpenScriptAtLine: Signal2 { get }Emitted when the user requests to view a specific line of a script, similar to [signal go_to_method].
var requestSaveHistory: SimpleSignal { get }Emitted when the user contextual goto and the item is in the same script.
var requestSavePreviousState: Signal3 { get }Emitted when the user changes current script or moves caret by 10 or more columns within the same script.
var goToHelp: Signal4 { get }Emitted when the user requests a specific documentation page.
var searchInFilesRequested: Signal5 { get }Emitted when the user request to search text in the file system.
var replaceInFilesRequested: Signal6 { get }Emitted when the user request to find and replace text in the file system.
var goToMethod: Signal7 { get }Emitted when the user requests to view a specific method of a script, similar to [signal request_open_script_at_line].
class VBoxContainerA container that arranges its child controls vertically.
protocol CustomStringConvertibleA type with a customized textual representation.
protocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol Identifiable<ID>A class of types whose instances hold the value of an entity with stable identity.
protocol VariantRepresentable : VariantStorableTypes that conform to VariantRepresentable can be stored directly in Variant with no conversion. These include all of the Variant types from Godot (for example GString, Rect, Plane), Godot objects (those that subclass SwiftGodot.Object) as well as the built-in Swift types UInt8, Int64 and Double.
protocol VariantStorableTypes that conform to VariantStorable can be stored in a Variant and can be extracted back out of a Variant.
override class var godotClassName: StringName { get }final func addSyntaxHighlighter(_ highlighter: EditorSyntaxHighlighter?) Adds a EditorSyntaxHighlighter to the open script.
final func getBaseEditor() -> Control? Returns the underlying Control used for editing scripts. For text scripts, this is a CodeEdit.
class Signal1Signal support.
class Signal2Signal support.
class Signal3Signal support.
class Signal4Signal support.
class Signal5Signal support.
class Signal6Signal support.
class Signal7Signal support.