Notice that the
syntaxColor
values to an
string value. The
id
style to a scheme tag. For example, the
an
of
id
"CodeColor_HTMLComment"
"
CodeColor_HTMLComment"
Dreamweaver includes the following code coloring schemes: Default, HTML, JavaScript,
ASP_JavaScript, ASP_VBScript, JSP, and ColdFusion. The Default scheme has an
equal to
Dreamweaver uses the Default scheme for document types that do not have
"Text".
a defined code coloring scheme.
A code coloring file contains the following tags.
<scheme>
Description
The
tag specifies code coloring for a block of code text. You can have multiple
scheme
schemes within a file to specify different coloring for different scripting or tag languages. Each
scheme has a priority that lets you nest a block of text with one scheme inside a block of text
with a different scheme.
Attributes
,
,
,
name
id
priority
name="scheme_name"
the scheme name in the Edit Coloring Scheme dialog box. Dreamweaver shows a
combination of scheme name and field name, such as
specify a name, the fields for the scheme do not appear in the Edit Coloring Scheme
dialog box. For more information about the Edit Coloring Scheme dialog box, see
"Editing schemes" on page
id="id_string"
item.
priority="string"
Specifies the precedence of the scheme. Blocks that are inside blocks with higher priority
are ignored; blocks that are inside blocks with the same or lower priority take precedence.
The priority defaults to "50" if you do not specify one.
doctypes="doc_list"
types to which this code coloring scheme applies. This value is necessary to resolve
conflicts in which different start and end blocks use the same extensions.
and
tagColor
value is then used in the codeColoring.xml file to assign a
id
defaultTag
. In the Colors.xml file, the
is assigned a
doctypes
A string that assigns a name to the scheme. Dreamweaver shows
87.
Required. An identifier string that maps color and style to this syntax
The value ranges from "1" to "99". Highest priority is "1".
Optional. Specifies a comma-separated list of the document
tags in the Colors.xml file assign color and style
tag in the codeColoring.xml excerpt has
value of
text=
"#999999"
HTML Comment
value of
id
, which is gray.
value
id
. If you do not
Code coloring
65
Need help?
Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?