Applies to
TCPPHighlighter component
Declaration
property CommentMultiLine: THighlightInfo;
property CommentSingleLine: THighlightInfo;
Description
These properties control the appearance of comments found in a TPlusMemo by TCPPHighlighter.
CommentMultiLine controls the highlighting of multiline comments (/*...*/). The default characteristics are italic style, transparent background and navy text color.
CommentSingleLine controls highlighting of single line comments (//...). The default characteristics are italic style, transparent background and blue text color.
You can change properties of CommentMultiLine 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.