You use the Script Editor Options tab to customize script editors (such as Calculation Script Editor, Report Script Editor, MaxL Script Editor, and Formula Editor). You can select colors for script elements and can control text formatting.
The Section column lists the script elements for which you can select colors:
Comments—Annotations that are ignored when scripts are executed
Keywords—Calculation and report commands and keywords in MaxL statements
Functions—Calculation functions and MDX statements
Options—Terminals for MaxL statements and options for calculation and report commands
Strings—Text that is enclosed within single or double quotation marks.
Numbers—Any numeral
Operators—Mathematical, conditional, logical, and cross-dimensional operators
The color column displays the color selected for each element. To change the color, from the drop-down list, select a standard color or Custom. If you select Custom, you can use the Set Editor Color dialog box to select a custom color.
In the “Tab size” box, you enter a tab-stop size, in number of characters. For example, a tab size of 2 indents lines by the length of two characters.
To specify wrap behavior, you select the first option or both options:
Enable line wrap—Without regard to the integrity of words, splits text at the right margin of the editing pane.
Enable word wrap—Splits text between words.