TrvActionClearFormat is the action for "Format | Clear Format" command.
TrvActionClearFormat = class(TrvAction)
This action resets text and/or paragraph attributes in the selected fragment by calling Editor.ApplyStyleTemplate(-1).
The results depend on the selection. The action clears the paragraph format in the following cases:
•the selection is empty
•the selection includes the whole paragraph completely
•the selection includes several paragraphs.
If the selection is not empty, the action clears its text format.
This action can be used even if Editor.UseStyleTemplates=False. In this case, it simply applies the 0th text and the 0th paragraph styles.
This action does not introduce any new properties in addition to properties of TrvAction.