XML

The following settings are available:

Indent for each level (Syntax indent) - The amount to indent for each new nesting level of tags. We have put the words "Syntax indent" in parenthesis to help indicate that this field has the same meaning as the Syntax indent text box in the Extension Options dialog box (Window Preferences, expand SlickEdit and click General in the tree, then double-click the File Extension Setup setting. On the Ex- tension Options dialog, select the Indent Tab). By default, we initialize this text box with your current ex- tension setup setting.

Indent with tabs - When on, tab characters are used for leading indent of lines. This value defaults to the Tabs text box in the Extension Options dialog box (Window Preferences, expand SlickEdit and click General in the tree, then double-click the File Extension Setup setting. On the Extension Options dialog, select the Indent Tab).

Tab size - Specifies output tab size. The output tab size is only used if the Indent with tabs check box is on. This value defaults to the Syntax indent text box in the Extension Options dialog box (Window Preferences, expand SlickEdit and click General in the tree, then double-click the File Extension Setup setting. On the Extension Options dialog, select the Indent Tab).

Original tab size - Specifies what the original file's tab expansion size was. We need to know the tab expansion size of your original file to handle reusing indent amounts from your original file. Currently the beautifier only reuses the original source file's indenting for comments. This option has no effect if the original file has no tab characters.

Max line length - Specifies the maximum length a line can be before it is wrapped to a new line. This max line length is relative to the current indent level. For example, if you were inside an XHTML <td> block which was at an indent level of 30, and your max line length was set to 80, then that line would not be wrapped until it reached a total length of 30+80=110 characters. Set this value to 0 if you want your line breaks preserved.

257

Page 279
Image 279
Slick V3.3 manual Xml