Skip to main content

SetCursorCmd

Classes​

SetCursorCmd​

The command to set the cursor to the specified point.

Implements​

Constructors​

Constructor​
new SetCursorCmd(textManager, initData): SetCursorCmd;
Parameters​
ParameterType
textManagerITextManager
initDataSetCursorCmdData
Returns​

SetCursorCmd

Methods​

execute()​
execute(): boolean;

Executes the command.

Returns​

boolean

true if changes were made, false otherwise.

Implementation of​

ICommand.execute


SetCursorCmdData​

Data required to initialize the command.

Constructors​

Constructor​
new SetCursorCmdData(point): SetCursorCmdData;
Parameters​
ParameterType
pointIPoint
Returns​

SetCursorCmdData

Properties​

point​
point: IPoint;

The destination point for the cursor.

Was this page helpful?