Documentation ¶
Overview ¶
Package ScriptEditorBase provides methods for working with ScriptEditorBase object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AddSyntaxHighlighter(highlighter [1]gdclass.EditorSyntaxHighlighter)
- func (self Instance) AsBoxContainer() BoxContainer.Instance
- func (self Instance) AsCanvasItem() CanvasItem.Instance
- func (self Instance) AsContainer() Container.Instance
- func (self Instance) AsControl() Control.Instance
- func (self Instance) AsNode() Node.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsScriptEditorBase() Instance
- func (self Instance) AsVBoxContainer() VBoxContainer.Instance
- func (self Instance) GetBaseEditor() [1]gdclass.Control
- func (self Instance) OnEditedScriptChanged(cb func())
- func (self Instance) OnGoToHelp(cb func(what string))
- func (self Instance) OnGoToMethod(cb func(script Object.Instance, method string))
- func (self Instance) OnNameChanged(cb func())
- func (self Instance) OnReplaceInFilesRequested(cb func(text string))
- func (self Instance) OnRequestHelp(cb func(topic string))
- func (self Instance) OnRequestOpenScriptAtLine(cb func(script Object.Instance, line int))
- func (self Instance) OnRequestSaveHistory(cb func())
- func (self Instance) OnRequestSavePreviousState(cb func(state map[any]any))
- func (self Instance) OnSearchInFilesRequested(cb func(text string))
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advanced ¶
type Advanced = class
Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.
type Instance ¶
type Instance [1]gdclass.ScriptEditorBase
Base editor for editing scripts in the [ScriptEditor]. This does not include documentation items.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AddSyntaxHighlighter ¶
func (self Instance) AddSyntaxHighlighter(highlighter [1]gdclass.EditorSyntaxHighlighter)
Adds a [EditorSyntaxHighlighter] to the open script.
func (Instance) AsBoxContainer ¶
func (self Instance) AsBoxContainer() BoxContainer.Instance
func (Instance) AsCanvasItem ¶
func (self Instance) AsCanvasItem() CanvasItem.Instance
func (Instance) AsContainer ¶
func (Instance) AsScriptEditorBase ¶
func (Instance) AsVBoxContainer ¶
func (self Instance) AsVBoxContainer() VBoxContainer.Instance
func (Instance) GetBaseEditor ¶
Returns the underlying [Control] used for editing scripts. For text scripts, this is a [CodeEdit].
func (Instance) OnEditedScriptChanged ¶
func (self Instance) OnEditedScriptChanged(cb func())
func (Instance) OnGoToHelp ¶
func (Instance) OnGoToMethod ¶
func (Instance) OnNameChanged ¶
func (self Instance) OnNameChanged(cb func())
func (Instance) OnReplaceInFilesRequested ¶
func (Instance) OnRequestHelp ¶
func (Instance) OnRequestOpenScriptAtLine ¶
func (Instance) OnRequestSaveHistory ¶
func (self Instance) OnRequestSaveHistory(cb func())
func (Instance) OnRequestSavePreviousState ¶
func (Instance) OnSearchInFilesRequested ¶
func (*Instance) UnsafePointer ¶
Click to show internal directories.
Click to hide internal directories.