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
ITokenCategoryHelper
instance was created using theParserLanguageID.Html
parameter - the
TokenCategory.Html.....
andTokenCategory.Css......
categories were analyzed in theHighlightCategorizedToken
method.
- Form1.cs (VB: Form1.vb)
- SyntaxHighlighting.cs (VB: SyntaxHighlighting.vb)
(you will be redirected to DevExpress.com to submit your response)