User Guide
Code coloring 99
innerTag
This value is identical to the
outerTag value, except that the tag coloring is taken from the
scheme inside the delimiters. This is currently used for the
html tag.
nameTag
This value specifies that the
blockStart string is the opening of a tag and blockEnd string is the
closing of a tag, and these delimiters are to be colored based on the tag settings of the scheme.
This type of scheme displays tags that can be embedded inside other tags, such as the
cfoutput
tag.
Sample code
<input type="text" name="zip"
<cfif newRecord IS "no">
<cfoutput query="employee"> Value="#zip#" </cfoutput>
</cfif>
>
Example
<blockStart doctypes="ColdFusion,CFC"
scheme="nameTag"><![CDATA[<cfoutput\n]]></blockStart>
nameTagScript
This value is identical to the
nameTag scheme; however, the content is script, such as assignment
statements or expressions, as opposed to attribute
name=value pairs.
This type of scheme displays a unique type of tag that contains script inside the tag itself, such as
the ColdFusion
cfset, cfif, and cfifelse tags, and can be embedded inside other tags.
Sample Code
See the sample text for nameTag.
Example
<blockStart doctypes="ColdFusion,CFC"
scheme="nameTagScript"><![CDATA[<cfset\n]]></blockStart>
Scheme processing
Dreamweaver has three basic code coloring modes: CSS mode, Script mode, and Tags mode.
In each mode, Dreamweaver applies code coloring only to particular fields. The following chart
indicates which fields are subject to code coloring in each mode.
Field CSS Tags Script
defaultText X X
defaultTag X
defaultAttribute X
comment X X X
string X X X