Skip to main content

SelectWordCmd

Classes

SelectWordCmd

The command to select a word relative to the current cursor position.

Implements

Constructors

Constructor
new SelectWordCmd(textManager, initData): SelectWordCmd;
Parameters
ParameterType
textManagerITextManager
initDataSelectWordCmdData
Returns

SelectWordCmd

Methods

execute()
execute(): boolean;

Executes the command.

Returns

boolean

true if changes were made, false otherwise.

Implementation of

ICommand.execute


SelectWordCmdData

Data required to initialize the command.

Constructors

Constructor
new SelectWordCmdData(point): SelectWordCmdData;
Parameters
ParameterType
pointIPoint
Returns

SelectWordCmdData

Properties

point
point: IPoint;

A point for selecting a word.

Was this page helpful?