SelectWordCmd
Classes
SelectWordCmd
The command to select a word relative to the current cursor position.
Implements
Constructors
Constructor
new SelectWordCmd(textManager, initData): SelectWordCmd;
Parameters
| Parameter | Type |
|---|---|
textManager | ITextManager |
initData | SelectWordCmdData |
Returns
Methods
execute()
execute(): boolean;
Executes the command.
Returns
boolean
true if changes were made, false otherwise.
Implementation of
SelectWordCmdData
Data required to initialize the command.
Constructors
Constructor
new SelectWordCmdData(point): SelectWordCmdData;
Parameters
| Parameter | Type |
|---|---|
point | IPoint |
Returns
Properties
point
point: IPoint;
A point for selecting a word.