Macromedia dreamweaver 8-extending dreamweaver User Manual

Page of 504
88
Customizing Code View
To edit styles for a scheme using the Code Coloring category in the Preferences dialog box, 
double-click a document type, or click the Edit Coloring Scheme button, to open the Edit 
Coloring Scheme dialog box.
To edit the style for a particular element, select it in the Styles For list. The items listed in the 
Styles For pane include the fields for the scheme being edited and also the schemes that might 
appear as blocks within this scheme. For example, if you edit the HTML scheme, the fields 
for CSS and JavaScript blocks are also listed.
The fields listed for a scheme correspond to the fields defined in the XML file. The value of 
the 
scheme.name
 attribute precedes each field listed in the Styles For pane. Fields that do not 
have a name are not listed.
The style for a particular element includes bold, italic, underline, and background color in 
addition to code coloring. After you select an element in the Styles For pane, you can change 
any of these style characteristics.
The Preview area displays how sample text would appear with the current settings. The 
sample text is taken from the 
sampleText
 setting for the scheme.
Select an element in the Preview area to change the selection in the Styles For list.
If you change the setting for an element of a scheme, Dreamweaver stores the value in the 
code coloring file and overrides the original setting. When you click OK, Dreamweaver 
reloads all code coloring changes automatically.