CanvasTextField.Syntax
ReferencesThe 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
| Name | Value | Description |
|---|---|---|
| Plain | 0 | Regular text, drawn in the default colour. |
| Number | 1 | Part of a numeric literal. |
| Operator | 2 | An operator, wildcard or other active symbol. |
| Separator | 3 | A separator, bracket or range symbol. |
| Text | 4 | Inside a quoted literal, the quotes themselves included. |