CanvasTextField.Syntax

References
The broad syntactic roles a character can play inside a field. Each field classifies its own characters, since different notations disagree about what a given character means - a '*' is a wildcard in one and a multiplication in another - but they all draw the same roles in the same colours.

Enum values

NameValueDescription
Plain0Regular text, drawn in the default colour.
Number1Part of a numeric literal.
Operator2An operator, wildcard or other active symbol.
Separator3A separator, bracket or range symbol.
Text4Inside a quoted literal, the quotes themselves included.