Skip to content

Commit 7002aa2

Browse files
authored
Update Readme.md
1 parent b8a9c4f commit 7002aa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Syntax highlighting for C# and VB code using DevExpress CodeParser and Syntax Highlight tokens
22

33

4-
<p>This example demonstrates the use of the <strong>ISyntaxHighlightService </strong>to display source code of this example in different colors and fonts according to the category of terms. To accomplish this, the text is parsed into tokens according to language syntax elements. The project uses DevExpress parsers for C# and VB, available in the <strong>DevExpress.CodeParser</strong> library. Resulting tokens are converted into <strong>SyntaxHighlightToken </strong>objects and format settings for different token types are specified. The <strong>DevExpress.XtraRichEdit.API.Native.SubDocument.ApplySyntaxHighlight</strong> method applies formatting to document ranges corresponding to the tokens.</p><p>
5-
<br/>
4+
<p>This example demonstrates the use of the <a href="https://documentation.devexpress.com/CoreLibraries/DevExpress.XtraRichEdit.Services.ISyntaxHighlightService.class">ISyntaxHighlightService</a> to display source code of this example in different colors and fonts according to the category of terms. To accomplish this, the text is parsed into tokens according to language syntax elements. The project uses DevExpress parsers for C# and VB, available in the <strong>DevExpress.CodeParser</strong> library. Resulting tokens are converted into <a href="https://documentation.devexpress.com/CoreLibraries/DevExpress.XtraRichEdit.API.Native.SyntaxHighlightToken.class">SyntaxHighlightToken</a> objects and format settings for different token types are specified. The <a href="https://documentation.devexpress.com/CoreLibraries/DevExpress.XtraRichEdit.API.Native.SubDocument.ApplySyntaxHighlight.method">DevExpress.XtraRichEdit.API.Native.SubDocument.ApplySyntaxHighlight</a> method applies formatting to document ranges corresponding to the tokens.</p><p>
5+
<br/>

0 commit comments

Comments
 (0)