Preferences - Syntax

Use this dialog window to specify syntax coloring preferences.

These settings only apply to the LN Studio Script Editor.

Limitations

The script editor does not recognize syntax patterns because no syntax parser is available in this release. Therefore, if a variable has a name identical to a keyword such as "domain", "function", or "case", the variable is colored as a keyword. For example:

  • You add the following code to the declaration section of a UI script: long case.
  • case is colored as a keyword, because the editor does not recognize it as a variable.
Syntax Coloring
Specify the syntax coloring settings for various elements in the program text.
To specify the syntax coloring settings for an element:
  1. Select the element from the list.
  2. Specify whether the element must be bold and/or italic.
  3. Click the color button.
  4. Select the color from a basic color schema or define custom colors.
Preview
Shows a preview of your syntax coloring settings.