TPlusMemo.Highlighter property
PlusMemo Help Send comments on this topic.
TPlusMemo.Highlighter property

Glossary Item Box

 

Applies to

TPlusMemo, TDBPlusMemo

 

Declaration

property Highlighter: TPlusHighlighter;

 

Description

The Highlighter property is used to link a dynamic syntaxing component (class TPlusHighlighter) to a TPlusMemo or TDBPlusMemo.  Such components are used to apply dedicated syntax highlighting and represent a third way to have the text of a TPlusMemo dynamically highlighted.  They are further described in the topic TPlusHighlighter class.

 

Property Highlighter has read and write access, and is accessible at run time or at design time.  Changing the Highlighter at design time has immediate repercussion on the highlighting of the text content of the TPlusMemo.  Changing it at run time will take effect only for subsequent text modifications.  If you want to reset all the dynamic syntax highlighting in the text that existed before the change, you should use method ReApplyKeywords after making an assignment to Highlighter.