reckfellENGINE

ScriptEditorBase

Base editor for editing scripts in the ScriptEditor.

On this page
class ScriptEditorBaseReckfellSharpEditorInherits VBoxContainer

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
# AddSyntaxHighlighter
C#
public void AddSyntaxHighlighter(EditorSyntaxHighlighter highlighter);

Adds an EditorSyntaxHighlighter to the open script.

Parameters
NameTypeDefault
highlighterEditorSyntaxHighlighter—
GetBaseEditorControl
# GetBaseEditor
C#
public Control GetBaseEditor();

Returns the underlying Control used for editing scripts. For text scripts, this is a CodeEdit.

Returns Control

Signals and events10

EditedScriptChangedEvent · Deprecated
# EditedScriptChanged
C#
public event Action EditedScriptChanged;

Emitted after script validation.

GoToHelpEvent · Deprecated
# GoToHelp
C#
public event ScriptEditorBase.GoToHelpEventHandler GoToHelp;

Emitted when the user requests a specific documentation page.

Handler parameters
NameTypeDefault
whatstring—
GoToMethodEvent · Deprecated
# GoToMethod
C#
public event ScriptEditorBase.GoToMethodEventHandler GoToMethod;

Emitted when the user requests to view a specific method of a script, similar to ScriptEditorBase.RequestOpenScriptAtLine.

Handler parameters
NameTypeDefault
scriptReckfellObject—
methodstring—
NameChangedEvent · Deprecated
# NameChanged
C#
public event Action NameChanged;

Emitted after script validation or when the edited resource has changed.

ReplaceInFilesRequestedEvent · Deprecated
# ReplaceInFilesRequested
C#
public event ScriptEditorBase.ReplaceInFilesRequestedEventHandler ReplaceInFilesRequested;

Emitted when the user request to find and replace text in the file system.

Handler parameters
NameTypeDefault
textstring—
RequestHelpEvent · Deprecated
# RequestHelp
C#
public event ScriptEditorBase.RequestHelpEventHandler RequestHelp;

Emitted when the user requests contextual help.

Handler parameters
NameTypeDefault
topicstring—
RequestOpenScriptAtLineEvent · Deprecated
# RequestOpenScriptAtLine
C#
public event ScriptEditorBase.RequestOpenScriptAtLineEventHandler RequestOpenScriptAtLine;

Emitted when the user requests to view a specific line of a script, similar to ScriptEditorBase.GoToMethod.

Handler parameters
NameTypeDefault
scriptReckfellObject—
linelong—
RequestSaveHistoryEvent · Deprecated
# RequestSaveHistory
C#
public event Action RequestSaveHistory;

Emitted when the editor requests to save a new history navigation point.

RequestSavePreviousStateEvent · Deprecated
# RequestSavePreviousState
C#
public event ScriptEditorBase.RequestSavePreviousStateEventHandler RequestSavePreviousState;

Emitted when the editor requests an update to its navigation point.

Handler parameters
NameTypeDefault
stateReckfell.Collections.Dictionary—
SearchInFilesRequestedEvent · Deprecated
# SearchInFilesRequested
C#
public event ScriptEditorBase.SearchInFilesRequestedEventHandler SearchInFilesRequested;

Emitted when the user request to search text in the file system.

Handler parameters
NameTypeDefault
textstring—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.