Applies to
TOOPHighlighter component
Declaration
property CommentBrace: THighlightInfo;
property CommentParAst: THighlightInfo;
property CommentSingleLine: THighlightInfo;
Description
These properties control the appearance of comments found in a TPlusMemo by TOOPHighlighter.
CommentBrace controls the highlighting of brace delimited comments ({...}). The default characteristics are italic style, transparent background and navy text color.
CommentParAst controls highlighting of parenthesis-asterisk delimited comments ((*...*)). The default characteristics are italic style, transparent background and green text color.
CommentSingleLine controls the appearance of single line comments (//..). The default characteristics are italic style, transparent background and blue text color.
You can change properties of CommentBrace, CommentParAst and CommentSingleLine at design time or at run time. If you make assignments to them at run time, call TPlusMemo.ReApplyKeywords for the change to take effect immediately for existing text. Otherwise, only subsequent editing operations will take account of the new highlighting attributes.