Skip to main content

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
ParameterType
textManagerITextManager
initDataIncreaseListItemIndentData
Returns

IncreaseListItemIndentCmd

Overrides

ListCmd.constructor

Methods

execute()
execute(): boolean;

Executes the command.

Returns

boolean

true if changes were made, false otherwise.

Implementation of

ICommand.execute


IncreaseListItemIndentData

Data required to initialize the command.

Constructors

Constructor
new IncreaseListItemIndentData(): IncreaseListItemIndentData;
Returns

IncreaseListItemIndentData

Properties

paragraphIndexes?
optional paragraphIndexes?: number[];

Indexes of paragraphs to increase indentation of list items.

Was this page helpful?