Additional formatting options appear when you press the More Options button in the Format Options dialog box.
- Approximate Line Length
- Preserve Existing Line Breaks
-
When this option is selected, the VLISP formatter inserts new lines whenever a new line is detected in the text being formatted. When the option is off, the formatter can squeeze a multiple-line expression to the plane style, if it fits within the right margin.
NoteSelecting this option causes VLISP to ignore other formatting options when those options would result in a loss of existing line breaks. This is often the source of unexpected formatting results. - Split Comments
- Casing for Symbols
-
These options control whether or not the VLISP formatter converts the case of alphabetic text in an AutoLISP symbol name. The protected symbols subgroup controls the case conversion of protected symbols (that is, symbols with the ASSIGN-PROTECT flag set). The unprotected options subgroup controls the case conversion of unprotected AutoLISP symbols. The following options are available:
Downcase: The formatter converts all characters in a symbol name to lowercase.
Upcase: The formatter converts all characters in a symbol name to uppercase.
The Long List format style option controls the formatting of long lists. Long lists are lists of formal arguments in defun and lambda expressions, or in quoted lists of atoms with more than five elements. The style option applies to long lists that do not fit on a single line (that is, within the Right Text Margin). Long List format style options are illustrated by formatting the following statement with Right Text Margin set to 45:
(setq lista '("abc" "def" "ghi" "jkl" "mno" "pqr"))