Code colors
These are the display items for which you can modify the foreground and background colors in the "Lion code colors" tab of the personal options.
Display item | Description |
Default |
This item covers everything not covered by the other items, for instance it includes assignments and most punctuation marks. |
Comment |
Code comments. |
Number |
Numeric value. |
Operator |
Operators such as +, -, >, <=, AND, OR. |
String |
String literals. |
Type identifier (Lion) |
Value types such as Alpha, Numeric, XML etc. |
Type identifier (user) |
Custom value types such as a class. |
Variable identifier |
Variable names. |
Flow control statement |
These include IF/ENDIF, THEN, ELSE, LOOP/ENDLOOP, STARTCASE/ENDCASE, BREAK, CONTINUE, GOTO and EXIT. |
Compound statement (not flow control) |
Non flow control block statements such as INSPECT/ENDINSPECT, BEGIN_ROUTINE/END_ROUTINE, WITH/ENDWITH, STRUCTURE/END_STRUCTURE, etc. |
Intrinsic function name |
Lion command names. |
Routine name (definition) |
Name of a Routine in the routine definition, for example: DISPLAY_MAIN |
Routine name (call) |
Name of a Routine when being called in the code. |
Method name |
Name of a Method when being called in the code, for example a class instance create: Class.Create() |
Property name |
Name of a Property, for example the format of the today system item: today.ccyymmdd |
Symbol |
Label names. |
Whitespace |
Background colour of spaces and tabs. The foreground colour is not relevant for this item. |
Keyword |
Remaining Lion keywords that do not fall under any of the above items. |
The foreground colour of Line numbers and Revision info along with the background colour of the editor itself, can be changed on the General tab of the personal optios. |