Table of Contents

Enum Color

Namespace
Dassie.Text
Assembly
dstx.dll

A list of color types commonly used by an editor. In LSEdit, these correspond to the colors of the current editor theme.

[Serializable]
public enum Color : byte
Extension Methods

Fields

BuiltinOperator = 16

The color of a built-in operator.

ControlFlow = 4

The color of a control flow keyword or operator.

Default = 0

The default color.

EnumField = 29

The color of an enumeration member.

EnumType = 30

The color of an enumeration type.

Error = 25

An error message.

ExpressionString = 28

The color of the child expression of a nameof expression.

Field = 13

The color of a field.

Function = 10

The color of a function.

Information = 27

An information message.

IntrinsicFunction = 31

The color of an intrinsic function.

LocalValue = 11

The color of a local immutable value.

LocalVariable = 12

The color of a local variable.

Module = 8

The color of a module.

Namespace = 9

The color of a namespace.

NumericLiteral = 2

The color of an integer or real literal.

OverloadedOperator = 15

The color of an overloaded operator.

ParenLevel1 = 19

The color of parentheses at nesting depth 1.

ParenLevel2 = 20

The color of parentheses at nesting depth 2.

ParenLevel3 = 21

The color of parentheses at nesting depth 3.

ParenLevel4 = 22

The color of parentheses at nesting depth 4.

ParenLevel5 = 23

The color of parentheses at nesting depth 5. At depth 6, the color will restart from ParenLevel1.

PrimitiveType = 18

The color of a primitive type.

Property = 14

The color of a property.

ReferenceType = 5

The color of a reference type.

StringEscapeSequence = 24

An escape sequence in a string.

StringLiteral = 1

The color of a string literal.

TemplateType = 7

The color of a template type.

TypeParameter = 17

The color of a type parameter.

ValueType = 6

The color of a value type.

Warning = 26

A warning message.

Word = 3

The color of a keyword.