The code elements that CotEditor's syntax coloring supports are as follows:
| Keywords | Keywords in source code such as reserved words of programming languages. | e.g. for, while, if |
|---|---|---|
| Commands | Functions or commands in source code. | e.g. exit, break, do |
| Values | Value constants in source code. | e.g. Null, True, False |
| Numbers | Numeric constants in source code. | e.g. Int i = 0; |
| Strings | String constants in source code. | e.g. String s = "Hello World" |
| Characters | Character constants in source code. | e.g. Char c = 'a' |
| Comments | Comments in source code. | e.g. /* 〜 */, # 〜 |