Property TWPCustomRtfEdit.CustomSyntax : TWPAbstractCustomSyntax
Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit
Description
To apply syntax highlighting simply assign a TWPCustomSyntax instance to this property. Note: It will be automatically freed by the editor.Example:
uses WPSyntaxHighlight;
HTMLText.CustomSyntax := TWPXMLSyntax.Create(nil);