Slick V3.3 manual XML Beautifier Comments Tab

Models: V3.3

1 568
Download 568 pages 2.03 Kb
Page 284
Image 284

XML

Figure 7.19. XML Beautifier: Comments Tab

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 XML Comments dialog. This dialog allows you to define what the beautifier recognizes as a comment. The sequence <!---->is defined as the XML comment by default. If you delete all comment definitions then all comments will be parsed as content.

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-

262

Page 284
Image 284
Slick V3.3 manual XML Beautifier Comments Tab