DecreaseListItemIndentCmd
Classes
DecreaseListItemIndentCmd
The command to decrease 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 DecreaseListItemIndentCmd(textManager, initData): DecreaseListItemIndentCmd;
Parameters
| Parameter | Type |
|---|---|
textManager | ITextManager |
initData | DecreaseListItemIndentData |
Returns
Overrides
Methods
execute()
execute(): boolean;
Executes the command.
Returns
boolean
true if changes were made, false otherwise.
Implementation of
DecreaseListItemIndentData
Data required to initialize the command.
Constructors
Constructor
new DecreaseListItemIndentData(): DecreaseListItemIndentData;
Returns
Properties
paragraphIndexes?
optional paragraphIndexes?: number[];
Indexes of paragraphs to decrease indentation of list items.