IncreaseListItemIndentCmd
Classes
IncreaseListItemIndentCmd
The command to increase the indent of list items by paragraph indexes.
Remarks
if paragraphs indexes are not specified, then the current selection (or cursor position) is used.
Extends
Implements
Constructors
Constructor
new IncreaseListItemIndentCmd(textManager, initData): IncreaseListItemIndentCmd;
Parameters
| Parameter | Type |
|---|---|
textManager | ITextManager |
initData | IncreaseListItemIndentData |
Returns
Overrides
Methods
execute()
execute(): boolean;
Executes the command.
Returns
boolean
true if changes were made, false otherwise.
Implementation of
IncreaseListItemIndentData
Data required to initialize the command.
Constructors
Constructor
new IncreaseListItemIndentData(): IncreaseListItemIndentData;
Returns
Properties
paragraphIndexes?
optional paragraphIndexes?: number[];
Indexes of paragraphs to increase indentation of list items.