.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ISyntaxHighlightService Interface

Enables you to implement the text highlighting functionality.

Namespace: DevExpress.XtraRichEdit.Services

Assembly: DevExpress.RichEdit.v19.2.Core.dll

Declaration

[ComVisible(true)]
public interface ISyntaxHighlightService
<ComVisible(True)>
Public Interface ISyntaxHighlightService
[ComVisible(true)]
public interface ISyntaxHighlightService
<ComVisible(True)>
Public Interface ISyntaxHighlightService
[ComVisible(true)]
public interface ISyntaxHighlightService
<ComVisible(True)>
Public Interface ISyntaxHighlightService

Remarks

Use the service substitution technique to register your service implementing the ISyntaxHighlightService.Execute and ISyntaxHighlightService.ForceExecute() methods. These methods are called when the text content of the RichEditControl is modified.

Note

A complete code sample project is available at How to create Syntax Highlight Tokens to implement T-SQL language syntax highlighting repository on GitHub.

See Also