Skip to main content

SyntaxHighlightToken(Int32, Int32, SyntaxHighlightProperties) Constructor

Initializes a new instance of the SyntaxHighlightToken class with the specified settings.

Namespace: DevExpress.XtraRichEdit.API.Native

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

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

Declaration

public SyntaxHighlightToken(
    int start,
    int length,
    SyntaxHighlightProperties properties
)

Parameters

Name Type Description
start Int32

An integer that is the start position of a document range to which the token refers.

length Int32

An integer that is the length of the document range to which the token refers.

properties SyntaxHighlightProperties

A SyntaxHighlightProperties instance containing format settings used to highlight the text in a range.

See Also