ClearFormattingCmd
Classes
ClearFormattingCmd
The command to clear formatting (character style) for the current cursor position or selected text.
Implements
Constructors
Constructor
new ClearFormattingCmd(textManager): ClearFormattingCmd;
Parameters
| Parameter | Type |
|---|---|
textManager | ITextManager |
Returns
Methods
execute()
execute(): boolean;
Executes the command.
Returns
boolean
true if changes were made, false otherwise.