10.02.2013 Views

SlickEdit User Guide

SlickEdit User Guide

SlickEdit User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C AND C++<br />

/* stand alone<br />

comment<br />

*/<br />

i=1; // trailing comment<br />

if (x) { /* trailing<br />

comment.<br />

*/<br />

}<br />

• Original absolute column - When this option is selected, trailing comments are placed at the<br />

same column as the original source file. Trailing comments are comments that appear at the end<br />

of lines that contain statements or declarations.<br />

• Original relative column - When this option is selected, trailing comments are indented by<br />

reusing the indent after the last character of the end of the statement or declaration of the original<br />

source file. Trailing comments are comments that are displayed at the end of lines that contain<br />

statements or declarations. For example, if the original code is as follows:<br />

Other Tab<br />

if () {<br />

i=1;//trailing comment<br />

i=4;/* trailing<br />

comment.<br />

*/<br />

}<br />

The resulting code would be:<br />

if () {<br />

i=1;//trailing comment<br />

i=4;/* trailing<br />

comment.<br />

*/<br />

}<br />

The Other tab on the C/C++ Beautifier, pictured below, contains the preprocessing and pad condition<br />

options.<br />

348 <strong>SlickEdit</strong>® <strong>User</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!