Skip to main content

SelectParagraphCmd

Classes​

SelectParagraphCmd​

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

Implements​

Constructors​

Constructor​
new SelectParagraphCmd(textManager, initData): SelectParagraphCmd;
Parameters​
ParameterType
textManagerITextManager
initDataSelectParagraphCmdData
Returns​

SelectParagraphCmd

Methods​

execute()​
execute(): boolean;

Executes the command.

Returns​

boolean

true if changes were made, false otherwise.

Implementation of​

ICommand.execute


SelectParagraphCmdData​

Data required to initialize the command.

Constructors​

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

SelectParagraphCmdData

Properties​

point​
point: IPoint;

A point for selecting a word.

Was this page helpful?