Blockend – Adobe Extending Dreamweaver CS4 User Manual
Page 52
46
EXTENDING DREAMWEAVER CS4
Customizing Code view
Attributes
name,
id
,
priority
,
{doctypes}
•
name="scheme_name"
A string that assigns a name to the scheme. Dreamweaver shows the scheme name in the
Edit Coloring Scheme dialog box. Dreamweaver shows a combination of scheme name and field name, such as
HTML Comment
. If you do not 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 “
•
id="id_string"
Required. An identifier string that maps color and style to this syntax item.
•
priority="string"
The value ranges from "1" to "99". Highest priority is "1". 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 has the default value of "50" if you do not specify one.
•
doctypes="doc_list"
Optional. Specifies a comma-separated list of the document 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.
Contents
blockEnd, blockStart, brackets, charStart, charEnd, charEsc, commentStart, commentEnd,
cssProperty/, cssSelector/, cssValue/, defaultAttribute, defaultText/, endOfLineComment,
entity/, functionKeyword, idChar1, idCharRest, ignoreCase, ignoreMMTParam, ignoreTags,
keywords, numbers/, operators, regexp, sampleText, searchPattern, stringStart, stringEnd,
stringEsc, urlProtocol, urlProtocols
Container
The
codeColoring
tag.
Example
Description
Optional. Text values that delimit the end of the text block for this scheme. The
blockEnd
and
blockStart
tags must
be paired and the combination must be unique. Values are not evaluated as case-sensitive. The
blockEnd
value can be
one character. Multiple instances of this tag are allowed. For more information on
blockEnd
Attributes
None.
Example