TPlusHighlighter class
PlusMemo Help Send comments on this topic.
TPlusHighlighter class

Glossary Item Box

 

Unit

PMSupport 

 

Declaration

type TPlusHighlighter = class(TComponent);

 

Description

TPlusHighlighter is the type of components used for dynamic syntax highlighting of the text in a TPlusMemo according to some language specific rule.  It is the type of property Highlighter.  It represents a third way to have dynamic syntax highlighting in a TPlusMemo, the other ones being through keyword or start-stop key definitions.

 

The simple fact of setting the Highlighter property of a TPlusMemo to an instance of TPlusHighlighter will make the latter be linked to the TPlusMemo.  Further text editing will then be highlighted according to the rules of the language defined by this TPlusHighlighter.

 

TPlusHighlighter descendants are developed by Electro-Concept Mauricie and available freely as accessory components.  See topic PlusMemo accessories for a list of highlighters currently available in the PlusMemo Package