Adobe 38040334 - Dreamweaver CS3 User Manual page 61

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

Advertisement

The character or string that signals special character processing, known as the escape character or
escape
string.
Contents
<searchPattern></searchPattern>
Example
<regexp name="RegExp" id="CodeColor_JavascriptRegexp" delimiter="/" escape="\\">
<searchPattern><![CDATA[(\s*/\e*\\/]]></searchPattern>
<searchPattern><![CDATA[=\s*/\e*\\/]]></searchPattern>
</regexp>
<sampleText>
Description
Representative text that appears in the Preview window of the Edit Coloring Scheme dialog box. For more infor-
mation on the Edit Coloring Scheme dialog box, see "Editing schemes" on page 62.
Attributes
doctypes
doctypes="doc_type1, doc_type2,..."
Example
<sampleText doctypes="JavaScript"><![CDATA[/* JavaScript */
function displayWords(arrayWords) {
for (i=0; i < arrayWords.length(); i++) {
// inline comment
alert("Word " + i + " is " + arrayWords[i]);
}
}
var tokens = new Array("Hello", "world");
displayWords(tokens);
]]></sampleText>
<searchPattern>
Description
A string of characters that define a regular search pattern using supported wildcard characters. Multiple
tags are allowed.
Pattern
Attributes
None.
Container
The
tag.
regexp
Example
<searchPattern><![CDATA[(\s*/\e*\\/]]></searchPattern>
The document types for which this sample text appears.
DREAMWEAVER CS3
55
Extending Dreamweaver
search-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents