Advanced tab – Slick EDIT V3.3 User Manual

Page 319

Advertising
background image

the last character of the end of the statement or declaration.

• Original relative indent - When selected, trailing comments are indented by reusing the indent after

the last character of the end of the statement or declaration of the original source file.

• Force type declaration comments to next line - When selected, trailing comments appearing at

the end of a TYPE declaration line are forced onto the next line.

Advanced Tab

The following options are available on the Advanced tab:

• if-then-else continued lines - Use these advanced options to customize how multi-line conditional ex-

pressions of an if-then-else statement are indented.

• Force a linebreak on logical operators - A line break is forced before/after (depending on your Op-

erator position setting) every logical operator in the condition of an if/elseif. For example, before
beautify:

-- Indent per level = 3

-- Operator position = Beginning of next line

if A = B and C = D then

null ;

end if ;

After beautify:

if A = B

and C = D then

null ;

end if ;

• Additional indent for logical operator - Additional indent amount for a line broken on a logical op-

erator. This amount is in addition to the current indent level. For example, before beautify (Indent per
level = 3; Operator position = Beginning of next line; Additional indent for logical operator = 3):

-- Indent per level = 3

-- Operator position = Beginning of next line

-- Additional indent for logical operator = 3

if A = B and C = D then

null ;

end if ;

After beautify:

Ada Beautifier

297

Advertising