Adobe 38040334 - Dreamweaver CS3 User Manual page 63

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

Advertisement

taglibrary="tag_library_id"
A tag or comma-separated list of tags that comprise the tag group.
tags="tag_list"
Example
<tagGroup name="HTML Table Tags" id="CodeColor_HTMLTable" taglibrary="DWTagLibrary_html"
tags="table,tbody,td,tfoot,th,thead,tr,vspec,colw,hspec" />
Scheme block delimiter coloring
The
scheme attribute controls the coloring of block opening and closing strings or block delimiters. The
blockStart
following values are valid values for the
Note: Do not confuse the
blockStart.scheme
innerText
This value tells Dreamweaver to color the block delimiters the same as the default text of the scheme inside them.
The Template scheme provides an example of the effect of this scheme. The Template scheme matches blocks of read-
only code that are colored gray because you cannot edit them. The block delimiters, which are the
<!-- #EndEditable -->
are not editable.
Sample code
<!-- #EndEditable -->
<p><b><font size="+2">header</font></b></p>
<!-- #BeginEditable "test" -->
<p>Here's some editable text </p>
<p>&nbsp;</p>
<!-- #EndEditable -->
Example
<blockStart doctypes="ASP-JS,ASP-VB, ASP.NET_CSharp, ASP.NET_VB, ColdFusion,CFC, HTML,
JSP,LibraryItem,PHP_MySQL" 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:
<?php
if ($loginMsg <> "")
echo $loginMsg;
?>
Example
<blockStart name="Block Delimiter" id="CodeColor_JavaBlock" doctypes="JSP"
scheme="customText"><![CDATA[<%]]></blockStart>
The identifier of the tag library to which this group of tags belongs.
attribute.
blockStart
attribute with the
and
<!-- #BeginEditable "..." -->
tag.
scheme
strings, are also colored gray because they also
DREAMWEAVER CS3
57
Extending Dreamweaver
customText

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents