MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual page 98

Extending dreamweaver
Hide thumbs Also See for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER:
Table of Contents

Advertisement

Sample code
<!-- #EndEditable -->
<p><b><font size="+2">header</font></b></p>
<!-- #BeginEditable "test" -->
<p>Here's some editable text
<p>&nbsp;</p>
<!-- #EndEditable -->
Example
<blockStart
doctypes="ASP-JS,ASP-VB, ASP.NET_CSharp, ASP.NET_VB,
ColdFusion,CFC, HTML,
scheme="innerText"><![CDATA[<!--\s*#BeginTemplate]]></blockStart>
customText
This value tells Dreamweaver to use custom colors to color the block delimiters.
Sample code
The delimiters for blocks of PHP script, which appear in red, provide an example of the effect of
the
customText
<?php
if
($loginMsg
echo
$loginMsg;
?>
Example
<blockStart
name="Block Delimiter" id="CodeColor_JavaBlock"
scheme="customText"><![CDATA[<%]]></blockStart>
outerTag
The
value specifies that both the
outerTag
that Dreamweaver should color them as tags would be colored in the scheme that
surrounds them.
The JavaScript scheme, in which
tags, provides an example of this value. This scheme matches blocks of JavaScript code,
blockEnd
which does not recognize tags, so the delimiters need to be colored by the scheme that
surrounds them.
Sample code
<script
language="JavaScript">
// comment
if (true)
window.alert("Hello,
</script>
Example
<blockStart
doctypes="PHP_MySQL"
scheme="outerTag"><![CDATA[<script\s+language="php">]]></blockStart>
98
Chapter 5: Customizing Code View
JSP,LibraryItem,PHP_MySQL"
value:
<>
"")
<script>
World");
</p>
and
blockStart
blockEnd
and
</script>
doctypes="JSP"
tags are complete tags and
strings are the
blockStart
and

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents