Macromedia dreamweaver 8-extending dreamweaver User Manual
Code coloring
67
Attributes
canNest
,
doctypes
,
id
,
name
,
scheme
■
canNest
Specifies whether the scheme can nest inside itself. Values are
"Yes"
or
"No"
.
The default is
"No"
.
■
doctypes="doc_type1, doc_type2,…"
Required. Specifies a comma-separated list of
document types into which you can nest this code coloring scheme. Document types are
defined in the Dreamweaver Configuration/Document Types/MMDocumentTypes.xml
file.
defined in the Dreamweaver Configuration/Document Types/MMDocumentTypes.xml
file.
■
id="id_string"
Required when
scheme="customText"
. An identifier string that maps
color and style to this syntax item.
■
name="display_name"
A string that appears in the Edit Coloring Scheme dialog box
when
scheme="customText"
.
■
scheme
Required. This defines how the
blockStart
and
blockEnd
strings are colored.
For information on the possible values for the scheme attribute, see
.
Example
<blockStart doctypes=
"ColdFusion,CFC"
scheme=
"innerText"
canNest=
"Yes"
><![CDATA[<!---]]></blockStart>
<brackets>
Description
A list of characters that represent brackets.
Attributes
name
,
id
■
name="bracket_name"
A string that assigns a name to the list of brackets.
■
id="id_string"
Required. An identifier string that maps color and style to this syntax
item.
Example
<brackets name=
"Bracket"
id=
"CodeColor_JavaBracket"
><![CDATA[{[()]}]]></
brackets>