10.02.2013 Views

SlickEdit User Guide

SlickEdit User Guide

SlickEdit User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

XML AND HTML<br />

The following settings are available:<br />

• Indent for each level (Syntax indent) - The amount to indent for each new nesting level. We<br />

have put the words “Syntax indent” in parenthesis to help indicate that this field has the same<br />

value as the Syntax indent text box on the language-specific Indent options screen (see<br />

Language-Specific Indent Options). By default, we initialize this text box with your current<br />

extension setup setting.<br />

• Indent with tabs - When on, tab characters are used for leading indent of lines. This value<br />

defaults to the Tabs text box on the language-specific Indent options screen (see Language-<br />

Specific Indent Options).<br />

• Tab size - Specifies output tab size. The output tab size is only used if Indent with tabs check box<br />

is on. This value defaults to the Syntax indent text box on the language-specific Indent options<br />

screen (see Language-Specific Indent Options).<br />

• Original tab size - Specifies what the original file's tab expansion size was. We need to know the<br />

tab expansion size of your original file to handle reusing indent amounts from your original file.<br />

Currently the beautifier only reuses the original source file's indenting for comments. This option<br />

has no effect if the original file has no tab characters.<br />

• Max line length - Specifies the maximum length a line can be before it is wrapped to a new line.<br />

This max line length is relative to the current indent level. For example, if you were inside a <br />

block which was at an indent level of 30, and your max line length was set to 80, then that line<br />

would not be wrapped until it reached a total length of 30+80=110 characters. Set this value to 0 if<br />

you want your line breaks preserved.<br />

• Broken tag lines - Specify how broken tag lines are treated from the following options:<br />

o Indent from tag column by - Specifies the amount to indent for broken tag lines from the<br />

starting column of the tag. Specify 0 to align broken tag lines with the starting column of the<br />

tag.<br />

o Use original relative indent - Reindent broken tag lines using the original relative indent<br />

amount from the starting column of the tag.<br />

o Preserve original indent - Preserve the original absolute indent amount on broken tag lines.<br />

<strong>SlickEdit</strong>® <strong>User</strong> <strong>Guide</strong> 389

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!