MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 81

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
value:
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
and 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
blockEnd
code, 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>
</p>
JSP,LibraryItem,PHP_MySQL"
"")
blockStart
and
<script>
World");
and
blockEnd
strings are the
</script>
doctypes="JSP"
tags are complete tags
and
blockStart
Code coloring
81

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver 8

Table of Contents