style-text-clear TrvActionClearTextFormat

Properties   Methods

<< Click to display table of contents >>

style-text-clear TrvActionClearTextFormat

Properties   Methods

TrvActionClearFormat is the action for "Format | Clear Text Format" command.

Unit RichViewActions;

Syntax

TrvActionClearTextFormat = class(TrvAction)

hmtoggle_arrow1Hierarchy

Description

This action resets text attributes in the selected fragment by calling Editor.ApplyTextStyleTemplate(-1, True).

This action can be used even if Editor.UseStyleTemplates=False. In this case, it simply applies the 0th text style.

This action does not introduce any new properties in addition to properties of TrvAction.