ScriptEditorBase
Base editor for editing scripts in the ScriptEditor.
Base editor for editing scripts in the ScriptEditor.
Base editor for editing scripts in the ScriptEditor. This does not include documentation items.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Methods2
AddSyntaxHighlightervoid
public void AddSyntaxHighlighter(EditorSyntaxHighlighter highlighter);Adds an EditorSyntaxHighlighter to the open script.
| Name | Type | Default |
|---|---|---|
highlighter | EditorSyntaxHighlighter | — |
GetBaseEditorControl
public Control GetBaseEditor();Returns the underlying Control used for editing scripts. For text scripts, this is a CodeEdit.
ControlSignals and events10
EditedScriptChangedEvent · Deprecated
public event Action EditedScriptChanged;Emitted after script validation.
GoToHelpEvent · Deprecated
public event ScriptEditorBase.GoToHelpEventHandler GoToHelp;Emitted when the user requests a specific documentation page.
| Name | Type | Default |
|---|---|---|
what | string | — |
GoToMethodEvent · Deprecated
public event ScriptEditorBase.GoToMethodEventHandler GoToMethod;Emitted when the user requests to view a specific method of a script, similar to ScriptEditorBase.RequestOpenScriptAtLine.
| Name | Type | Default |
|---|---|---|
script | ReckfellObject | — |
method | string | — |
NameChangedEvent · Deprecated
public event Action NameChanged;Emitted after script validation or when the edited resource has changed.
ReplaceInFilesRequestedEvent · Deprecated
public event ScriptEditorBase.ReplaceInFilesRequestedEventHandler ReplaceInFilesRequested;Emitted when the user request to find and replace text in the file system.
| Name | Type | Default |
|---|---|---|
text | string | — |
RequestHelpEvent · Deprecated
public event ScriptEditorBase.RequestHelpEventHandler RequestHelp;Emitted when the user requests contextual help.
| Name | Type | Default |
|---|---|---|
topic | string | — |
RequestOpenScriptAtLineEvent · Deprecated
public event ScriptEditorBase.RequestOpenScriptAtLineEventHandler RequestOpenScriptAtLine;Emitted when the user requests to view a specific line of a script, similar to ScriptEditorBase.GoToMethod.
| Name | Type | Default |
|---|---|---|
script | ReckfellObject | — |
line | long | — |
RequestSaveHistoryEvent · Deprecated
public event Action RequestSaveHistory;Emitted when the editor requests to save a new history navigation point.
RequestSavePreviousStateEvent · Deprecated
public event ScriptEditorBase.RequestSavePreviousStateEventHandler RequestSavePreviousState;Emitted when the editor requests an update to its navigation point.
| Name | Type | Default |
|---|---|---|
state | Reckfell.Collections.Dictionary | — |
SearchInFilesRequestedEvent · Deprecated
public event ScriptEditorBase.SearchInFilesRequestedEventHandler SearchInFilesRequested;Emitted when the user request to search text in the file system.
| Name | Type | Default |
|---|---|---|
text | string | — |