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