Skip to main content

ISyntaxHighlightService.ForceExecute() Method

Reserved for future use.

Namespace: DevExpress.XtraRichEdit.Services

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

void ForceExecute()

Remarks

Implement this method by calling the ISyntaxHighlightService.Execute method.

View Example

The code sample below uses the ParseTokens method to create a list of SyntaxHighlightToken objects and pass it to the SubDocument.ApplySyntaxHighlight method.

public void Execute()
{
    List<SyntaxHighlightToken> tSqltokens = ParseTokens();
    document.ApplySyntaxHighlight(tSqltokens);
}
public void ForceExecute()
{
    Execute();
}
See Also