TCPPHighlighter.SubHighlighter property
PlusMemo Help Send comments on this topic.
TCPPHighlighter.SubHighlighter property

Glossary Item Box

 

Applies to

TCPPHighlighter component

 

Declaration

property SubHighlighter;

 

Description

This property enables further nested highligting of particular sections in TPlusMemo's text.  It is done by assigning to it another highlighter set with a scope value equal to the context number of the section to highlight.  A good example is the use a TUrlHighlighter to highlight urls within comments, like is done in the Notepad Plus demo.  In this case, property TUrlHighlighter.Scope is set to the value 3, which corresponds to the context number of comments as defined by TCPPHighlighter.

 

This property is normally used with the support of Electro-Concept Mauricie.