GitHub - DevExpress-Examples/rich-text-editor-highlight-syntax: Implement syntax highlighting for C# and VB code displayed in the Rich Text Editor.
Clear any formatting applied to the text with TextRange.ClearAllProperties(); : RichTextBox « Windows Presentation Foundation « VB.Net Tutorial
![Rich Text Editor for WinForms - Implement ISyntaxHighlightService to Highlight C and VB Code Syntax | DevExpress Support Rich Text Editor for WinForms - Implement ISyntaxHighlightService to Highlight C and VB Code Syntax | DevExpress Support](https://raw.githubusercontent.com/DevExpress-Examples/rich-text-editor-highlight-syntax/21.2.3%2B/images/rich-text-editor-highlight-code-syntax.png)