Working with Schemes

Specifying the Scheme to Use

You can specify a scheme to use for just the current document, or a default scheme to use for all HTML and/or XML files that are created or opened in SlickEdit® Core.

To specify the scheme for the current document, click Format XML/HTML Formatting Current Document Options, and pick the scheme to use from the drop-down list. The scheme you choose is re- membered the next time that the document is opened.

Specifying a Different Default Scheme

SlickEdit® Core has two predefined default schemes (see Default Schemes). You can specify your own default scheme for new XML or HTML files by selecting a scheme, then from the right-click context menu, choose Set as Default XML Scheme or Set as Default HTML Scheme. The name in the Scheme list will be appended with the text "(default xml)" or "(default html)". For example, if you have an HTML scheme named readmes and set it as the default, the name in the Schemes list will change to readmes (default html).

Creating Schemes

To create your own scheme, right-click in the Scheme column of the XML/HTML Formatting dialog, and select New Scheme.

Figure 7.33. New Formatting Scheme Dialog

Type a name for your scheme, then select an existing scheme on which it should be based. This will "copy" all of the tags and settings from the selected existing scheme to your new scheme. Click Create when finished.

283

Page 305
Image 305
Slick V3.3 manual Specifying the Scheme to Use, Creating Schemes, Specifying a Different Default Scheme