This example demonstrates the use of the ISyntaxHighlightService to display the source code of this example in different colors and fonts according to the category of terms. The project uses DevExpress parsers for C# and VB, available in the DevExpress.CodeParser library. Resulting tokens are converted into SyntaxHighlightToken objects and format settings for different token types are specified. The SubDocument.ApplySyntaxHighlight method applies formatting to document ranges corresponding to the tokens.
More Examples
Documentation
Does this example address your development requirements/objectives?
(you will be redirected to DevExpress.com to submit your response)