SetCursorCmd
Classes
SetCursorCmd
The command to set the cursor to the specified point.
Implements
Constructors
Constructor
new SetCursorCmd(textManager, initData): SetCursorCmd;
Parameters
| Parameter | Type |
|---|---|
textManager | ITextManager |
initData | SetCursorCmdData |
Returns
Methods
execute()
execute(): boolean;
Executes the command.
Returns
boolean
true if changes were made, false otherwise.
Implementation of
SetCursorCmdData
Data required to initialize the command.
Constructors
Constructor
new SetCursorCmdData(point): SetCursorCmdData;
Parameters
| Parameter | Type |
|---|---|
point | IPoint |
Returns
Properties
point
point: IPoint;
The destination point for the cursor.