The following options are shown at the top of the Format Options dialog box.
- Right Text Margin
- Narrow Style Indentation
- Maximum Wide-Style Car Length
- Single-Semicolon Comment Indentation
The Closing Paren Style group of options controls the position of closing parentheses for multi-line formatting styles. The effect of each option is demonstrated by formatting the following code, where Right Text Margin is set to 40 and Preserve Existing Line Breaks is not selected:
(cond
((/= (logand mask flg) 0)
(list (list txton)))
)
VLISP formats the preceding code as follows:
- Close at the Same Line
- Close at the New Line with Inner Indentation
- Close at The New Line with Outer Indentation
The remaining items in this dialog box concern tabs, saving the current setting, and the setting of several comment options.
- Insert Tabs
- Save Formatting Options in Source File
- Insert Form-Closing Comment
-
This option causes VLISP to add a closing comment to an expression when Close at the New Line with Inner Indentation or Close at the New Line with Outer Indentation is selected. The comment takes the following form at the end of a multi-line function:
VLISP does not add the comment if the line already contains a comment.
- Form-Closing Comment Prefix