10.02.2013 Views

SlickEdit User Guide

SlickEdit User Guide

SlickEdit User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ADAPTIVE FORMATTING<br />

Formatting Option Path to Option in <strong>SlickEdit</strong> Description<br />

Case for inserted tags [Language] > [Language]<br />

Formatting Options<br />

(Language-Specific<br />

Formatting Options)<br />

Case for inserted attributes [Language] > [Language]<br />

Formatting Options<br />

(Language-Specific<br />

Formatting Options)<br />

Case for inserted single<br />

word values<br />

[Language] > [Language]<br />

Formatting Options<br />

(Language-Specific<br />

Formatting Options)<br />

Case for hex values [Language] > [Language]<br />

Formatting Options<br />

(Language-Specific<br />

Formatting Options)<br />

Scanning for Styles in Use<br />

Specifies the case for tags<br />

that are automatically<br />

inserted. See HTML<br />

Formatting Options for more<br />

information.<br />

Specifies the case for tag<br />

attributes that are<br />

automatically inserted. See<br />

HTML Formatting Options for<br />

more information.<br />

Specifies the case of word<br />

values that are automatically<br />

inserted inside a tag. See<br />

HTML Formatting Options for<br />

more information.<br />

Specifies the case for hex<br />

values that are automatically<br />

inserted inside a tag. See<br />

HTML Formatting Options for<br />

more information.<br />

Adaptive Formatting has two modes of scanning: automatic, which is the default behavior, and manual,<br />

which lets you run a scan at any time to determine a file’s formatting styles in order to quickly save them as<br />

the default settings.<br />

By default, when you open a file for editing, Adaptive Formatting initially scans for the indent-related<br />

settings that are in effect (Syntax indent, Indent with tabs, and Tabs), starting at the beginning of the file.<br />

Thereafter, Adaptive Formatting scans as you type to determine brace settings, parentheses padding, and<br />

other formatting styles. If Adaptive Formatting determines that the file is using a different formatting style<br />

than the current language-specific setting, a dialog is displayed that shows the settings in effect. You can<br />

then choose to use the settings or use the settings set for the language. Once the formatting style is<br />

determined, the options for those styles are used as long as the buffer is open for editing.<br />

For example, when you type a keyword such as if in a C/C++ file that uses formatting styles different from<br />

the current settings, the C/C++ Adaptive Formatting Results dialog is displayed.<br />

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

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

Saved successfully!

Ooh no, something went wrong!