Class EditTokenType
Specifies types of tokens supported by EditLanguage lexems
Inheritance
System.Object
EditTokenType
Namespace: Syncfusion.Windows.Edit
Assembly: Syncfusion.Edit.Wpf.dll
Syntax
public sealed class EditTokenType : Enum
Remarks
Value | Description |
---|---|
Literals | Represents the SyntaxHighlighting to the text. The Literal format color is applies to the text, which is located between start and end Text. |
Keyword | Represents the SyntaxHighlighting to the text. The Keyword format color is applies to the text, which is located between start and end Text. |
Comment | Represents the SyntaxHighlighting to the text. The Comment format color is applies to the text, which is located between start and end Text. |
Preprocessor | Represents the SyntaxHighlighting to the text. The Preprocessor format color is applies to the text, which is located between start and end Text. |
Custom | Represents user defined format and applies syntax highlighting based on the user defined format color. |
Fields
CodeSnippet
Specified the CodeSnippet Token
Declaration
public const EditTokenType CodeSnippet
Field Value
Type |
---|
EditTokenType |
Comment
Specified the Comment Token
Declaration
public const EditTokenType Comment
Field Value
Type |
---|
EditTokenType |
Custom
Specified the Custom Token
Declaration
public const EditTokenType Custom
Field Value
Type |
---|
EditTokenType |
Keyword
Specified the Keyword Token
Declaration
public const EditTokenType Keyword
Field Value
Type |
---|
EditTokenType |
Literals
Specified the Literal Token
Declaration
public const EditTokenType Literals
Field Value
Type |
---|
EditTokenType |
NamespaceDeclaration
Specified the NamespaceDeclaration Token
Declaration
public const EditTokenType NamespaceDeclaration
Field Value
Type |
---|
EditTokenType |
Operator
Specified the Operator Token
Declaration
public const EditTokenType Operator
Field Value
Type |
---|
EditTokenType |
Preprocessor
Specified the Preprocessor Token
Declaration
public const EditTokenType Preprocessor
Field Value
Type |
---|
EditTokenType |
Property
Specified the Property Token
Declaration
public const EditTokenType Property
Field Value
Type |
---|
EditTokenType |