Applies to
TEmailHighlighter component
Declaration
property ContextNum: Integer;
Description
This property is used to assign context numbers to quoted text with TEmailHighlighter. Such context numbers get passed to TPlusMemo.OnContext event, that your application can use to know when a quoted text section has been clicked. It is also used as the scope value for achieving complex highlighting with SubHighlighter.
The context number assigned to a particular quoted section is given by property ContextNum plus the quote level of that section (zero based), up to a maximum of four quote levels. The default value for property ContextNum is 4096. Thus quoted sections with one level of quoting get attributed a context value of 4096, sections with two levels of quoting 4097, with three levels 4098, and those at four or higher level 4099.