Skip to main content
cut

RichEditCommands.decreaseIndent Property

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

Declaration

get decreaseIndent(): DecreaseIndentCommand

Property Value

Type Description
DecreaseIndentCommand

An object that provides methods that execute the command and check its state.

Remarks

Call the execute method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

richEdit.commands.decreaseIndent.execute();

The command decreases the indent level of paragraphs in the selected range by the defaultTabStop value. You can get this value using the following code snippet:

richEdit.commands.changeTabs.getState().value.defaultTabStop;

To modify this value, use the RichEditCommands.changeTabs command.

Refer to the following section for more information: Client Commands.

See Also