Schemes tab, C/c++ beautifier: schemes tab – Slick EDIT V3.3 User Manual

Page 265

Advertising
background image

The following options are available:

Indent preprocessing - When this option is selected, the indent before the # character of prepro-

cessing is set to indicate the preprocessing nesting level.

Indent inside block - When this option is selected, preprocessing inside brace block is indented when

inside preprocessing. Otherwise, preprocessing within a brace block start in column 1.

Indent inside special #ifndef - Many C/C++ header files starts with the following lines of code:

#ifndef myheader_h

#define myheader_h

#endif

When this option is selected, preprocessing inside this special #ifndef case is indented.

Eat spaces after # - When this option is selected, the spaces after a preprocessor #, but before the

keyword (if, ifdef, else, elif, endif, etc.), are removed. This is useful for fixing old C code where the #
character had to start in column 1 and spaces were used after the # to indicate the nesting level.

Force parens on return - When this option is selected, parentheses are added to returns statements

which do not have parentheses.

Pad condition - These options indicate if parenthesized conditional expressions should have their spa-

cing adjusted.

Schemes Tab

Figure 7.10. C/C++ Beautifier: Schemes Tab

C/C++ Beautifier

243

Advertising