TExtHighlighter.Keywords property
PlusMemo Help Send comments on this topic.
TExtHighlighter.Keywords property

Glossary Item Box

 

Applies to

TExtHighlighter component

 

Declaration

property Keywords: TExtKeywordList;

 

Description

This property is a TStrings descendant that contains the keywords and their attributes defined by a TExtHighlighter component.  The keywords defined in it will be highlighted when encountered inside a TPlusMemo that is linked to this extended highlighter, when scoping rules are met (see TExtHighlighter topic for explanation of scoping rules).

 

It is possible to define keywords at design time by double clicking on the Keywords property in the Object Inspector.  A keyword editor window will appear where keywords and their attributes can be defined.

 

If you make changes to properties of Keywords at run time, call TPlusMemo.ReApplyKeywords for the change to take effect immediately.  Otherwise, only subsequent editing operations will take account of the new keyword definitions.