Close Parenthesis Style

AutoCAD AutoLISP & Visual LISP

 
Close Parenthesis Style
 
 
 

This style controls the position of the close parenthesis for multiple-line formatting styles. You can select one of the following options:

Close at the Same Line

Close parenthesis on the last line of each formatting expression.

Close at the New Line with Inner Indentation

Close parenthesis on the next line following the last line of each formatting expression with the inner indent.

Close at the New Line with Outer Indentation

Close parenthesis on the next line following the last line of each formatting expression with the outer indent.

Examples

The initial expression is written as:

(cond  
 ((/= (logand mask flg) 0)
 (list (list txton)))
)

Formatting result when Close at the Same Line option is selected:

(cond ((/= (logand mask flg) 0)
       (list (list txton))))

Formatting result when Close at the New Line with Inner Indentation option is selected:

(cond ((/= (logand mask flg) 0)
       (list (list txton))
       )
      )

Formatting result when Close at the New Line with Outer Indentation is selected:

(cond ((/= (logand mask flg) 0)
       (list (list txton))
      )
)