HTML

The Comments tab contains the following options and settings:

Indent stand alone comments - When on, indicates whether comments which appear on lines by themselves with no content to the left are indented to the current content indent level. The following is an example of a stand-alone comment:

<!-- stand alone comment

-->

Indent column 1 comments - Normally comments that start in column 1 are left alone. Turn this on if you want the indent for these comments to be adjusted as well.

Define Comments - Displays the HTML Comments dialog. This dialog allows you to define what the beautifier recognizes as a comment. The sequence <!---->is defined as the HTML comment by de- fault. If you delete all comment definitions then all comments will be parsed as content and possibly word-wrapped.

Trailing comments - Specify how trailing comments are treated from the following options:

Specific column - This text box specifies the column that "trailing comments" should be placed at. By trailing comments, we mean comments which appear at the end of lines which contain tags. An example of a trailing comment is:

<TD>

<!-- trailing comment -->

Original absolute column - When on, "trailing comments" are placed at the same column as the ori- ginal source file. By trailing comments, we mean comments which appear at the end of lines which contain tags.

276

Page 298
Image 298
Slick V3.3 manual Stand alone comment