This example demonstrates how to highlight HTML markup content using the ISyntaxHighlightService.
In this example, the following modifications of the mentioned approach were made:
- the
ITokenCategoryHelperinstance was created using theParserLanguageID.Htmlparameter - the
TokenCategory.Html.....andTokenCategory.Css......categories were analyzed in theHighlightCategorizedTokenmethod.
- Form1.cs (VB: Form1.vb)
- SyntaxHighlighting.cs (VB: SyntaxHighlighting.vb)
(you will be redirected to DevExpress.com to submit your response)