Prototype

property OnSyntaxHighlighting: TSyntaxHighlightingEvent read FOnSyntaxHighlighting write FOnSyntaxHighlighting;

Description

Occurs when a block of code needs to be highlighted.

if OnSyntaxHighlighting returns an empty list and the control is associated with a TMDStyle, TMDStyle.OnSyntaxHighlighting is invoked.

See also

TMDCustomControl.OnSyntaxHighlighting

TMDStyle.OnSyntaxHighlighting