MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 90

Extending dreamweaver
Table of Contents

Advertisement

CSS sample text
The following sample text for the CSS scheme illustrates the CSS code coloring scheme:
/* Comment */
H2, .head2
{
font-family
font-weight
color
}
The following lines from the Colors.xml file provide the color and style values that are seen in
the sample text and were assigned by the code coloring scheme:
<syntaxColor
id="CodeColor_CSSSelector" text="#FF00FF"
<syntaxColor
id="CodeColor_CSSProperty" text="#000099"
<syntaxColor
id="CodeColor_CSSValue" text="#0000FF"
JavaScript code coloring
<scheme
name="JavaScript" id="JavaScript" doctypes="JavaScript"
priority="50">
<ignoreCase>No</ignoreCase>
<ignoreTags>Yes</ignoreTags>
<blockStart
doctypes="ASP-JS,ASP-
VB,ASP.NET_CSharp,ASP.NET_VB,ColdFusion,CFC,HTML,JSP,LibraryItem,DWTempl
ate,PHP_MySQL"
<blockEnd><![CDATA[</script>]]></blockEnd>
<blockStart
doctypes="ASP-JS,ASP-
VB,ASP.NET_CSharp,ASP.NET_VB,ColdFusion,CFC,HTML,JSP,LibraryItem,DWTempl
ate,PHP_MySQL"
<blockEnd><![CDATA[</script>]]></blockEnd>
<commentStart
id="CodeColor_JavascriptComment"><![CDATA[/*]]></commentStart>
<commentEnd><![CDATA[*/]]></commentEnd>
<endOfLineComment><![CDATA[//]]></endOfLineComment>
<endOfLineComment><![CDATA[<!--]]></endOfLineComment>
<endOfLineComment><![CDATA[-->]]></endOfLineComment>
<stringStart
id="CodeColor_JavascriptString"><![CDATA["]]></stringStart>
<stringEnd><![CDATA["]]></stringEnd>
<stringStart><![CDATA[']]></stringStart>
<stringEnd><![CDATA[']]></stringEnd>
<stringEsc><![CDATA[\]]></stringEsc>
<brackets
name="Bracket"
id="CodeColor_JavascriptBracket"><![CDATA[{[()]}]]></brackets>
<operators
name="Operator"
id="CodeColor_JavascriptOperator"><![CDATA[+-*/%<>!?:=&|^]]></operators>
<numbers
name="Number" id="CodeColor_JavascriptNumber"
<regexp
name="RegExp" id="CodeColor_JavascriptRegexp" delimiter="/"
escape="\\">
<searchPattern><![CDATA[(\s*/\e*\\/]]></searchPattern>
90
Customizing Code View
: 'Sans-Serif';
: bold;
: #339999;
scheme="outerTag"><![CDATA[<script>]]></blockStart>
scheme="outerTag"><![CDATA[<script\s+\*>]]></blockStart>
name="Comment"
name="String"
/>
/>
/>
/>

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?

Questions and answers

This manual is also suitable for:

Dreamweaver 8

Table of Contents