Skip to main content
A newer version of this page is available. .
cut

RichEditCommands.increaseIndent Property

Gets a command to increment the indent level of paragraphs in a selected range.

Declaration

increaseIndent: IncreaseIndentCommand

Property Value

Type Description
IncreaseIndentCommand

A IncreaseIndentCommand object that provides methods for executing the command and checking its state.

Remarks

You can invoke this command by calling the execute method.

The execute method checks the command state (obtained using the getState method) before executing, and decides whether the action can be performed. The execute and getState methods are members of the IncreaseIndentCommand class.

Usage example:


richEdit.commands.increaseIndent.execute();

The command increases indents of lists and paragraphs included in the selected range. For numbered lists, the RichEditCommands.incrementNumberingIndent command is applied. For the other paragraphs, the RichEditCommands.incrementParagraphLeftIndent command is applied.

See Also