Prototype

TSyntaxHighlightingEvent = procedure(Sender: TObject; const aLanguage: string; var aStyles: TMDSyntaxStyles) of object;

Description

TSyntaxHighlightingEvent is the function type for an OnSyntaxHighlighting event.


aLanguage contains the language defined in the script if any. FIll aStyles either with presets or create your own.

See also

TMDStyle.OnSyntaxHighlighting

TMDCustomControl.OnSyntaxHighlighting