Adobe 38040334 - Dreamweaver CS3 User Manual page 67

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

<blockEnd><![CDATA[<!--\s*#BeginEditable\s*"\*"\s*-->]]></blockEnd>
Assuming the optional white space wildcard strings (
automatically, then the data string is 26 characters long, plus a wildcard string (
<!-- #BeginEditable "\*" -->
This leaves an editable region name that can be as many as 74 characters, which is the maximum of 100 characters
minus 26.
Scheme precedence
Dreamweaver uses the following algorithm to color text syntax in Code view:
1
Dreamweaver determines the initial syntax scheme based on the document type of the current file. The file
document type is matched against the
scheme.documentType = "Text"
Schemes can be nested if they specify
2
file extension listed in one of the
disabled.
Note: All
blockStart/blockEnd
Schemes can nest within another scheme only if the
If the priority is equal, the scheme can nest only in the body state of the outer scheme. For example, the
<script>...</script>
a tag, attribute, string, comment, and so on.
Schemes with a higher priority than the outer scheme can nest almost anywhere within the outer scheme. For
example, in addition to nesting in the body state of the
inside a tag, attribute, string, comment, and so on.
The maximum nesting level is 4.
When matching
3
blockStart
4
After reaching the
blockEnd
string is detected. For example, if a
blockStart
resumes with the HTML string color.
scheme.documentType
is used.
blockStart
blockStart.doctypes
combinations should be unique.
scheme.priority
block can nest only inside the
strings, Dreamweaver always uses the longest match.
string for the current scheme, syntax coloring returns to the state where the
<%...%>
) are a single space character, which Dreamweaver generates
\s*
attribute. If no match is found, the scheme where
...
pairs. All nestable schemes that have the current
blockEnd
attribute are enabled for the current file and all others are
is equal to or greater than the outer scheme.
block where tags are legal—not inside
<html>...</html>
block, the
<html>...</html>
block is found within an HTML string, then coloring
DREAMWEAVER CS3
Extending Dreamweaver
) for the name.
\*
block can also nest
<%...%>
61

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents