Slick V3.3 Computer Accessories User Manual


 
Preserve content - When selected, content between start and end tags is not wrapped, but the tags
are laid out properly with the parent tag. This could be useful for tags such as <pre>, where the content
needs to be rendered exactly as it appears in the code.
Note
When Treat as content is selected, the wrapping options in the Tag content width group box,
as well as options on the Tag Layout tab, are unavailable.
When Preserve content is selected, the wrapping options in the Tag content width group box
are unavailable.
Tag Content Width Settings
When Wrap tag content is selected, content between tags is wrapped according to the settings specified
in this group box. The options Fixed width, Automatic width, and Fixed right margin are mutually ex-
clusive.
Fixed width - When selected, tag content is formatted to the specified width. The original left margin of
the content is maintained, and the right margin is adjusted to meet the target width.
If Maximum right column is used, lines will be wrapped when they reach the specified column, even if
they have not reached the specified fixed width. This is useful if coding standards mandate that text
should not exceed a specified column.
Automatic width - When selected, the width of the longest multi-line paragraph in the tag’s content is
used as the width. This is useful for preserving the formatting of existing content.
If Maximum right column is used, lines will be wrapped when they reach the specified column, even if
they have not reached the specified automatic width. This is useful if coding standards mandate that
text should not exceed a specified column.
Fixed right margin - When selected, lines will break before the specified number of columns in the
Right column field has been reached.
Tip
If coding standards mandate that text should not exceed a specified column, you can still use
Fixed or Automatic width settings. Select and set the Maximum right column, and lines will be
wrapped when they reach the specified column, even if they have not reached the specified fixed
or automatic width.
Parent tag right margin - When selected, tag content is wrapped at the right margin to the width of the
parent tag.
Include tags in width calculation - When selected, the start and end tag characters are counted in
addition to the content. The number of characters and spaces (including attributes) within tags are cal-
Formatting Settings
288