HTML

Figure 7.25. HTML Beautifier: Indent Tab

The following settings are available:

Indent for each level (Syntax indent) - The amount to indent for each new nesting level. 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 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 a <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

271

Page 293
Image 293
Slick V3.3 manual Html Beautifier Indent Tab