MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 498

Dreamweaver api reference
Table of Contents

Advertisement

The
{matchCase}
the search is case-sensitive. If this property is not explicitly set, it defaults to
The
{ignoreWhitespace}
whether white space differences should be ignored. The
defaults to
false
if the
useRegularExpressions
The
{useRegularExpressions}
property uses regular expressions. If this property is not explicitly set, it
searchString
defaults to a value of
Returns
Nothing.
Example
The following code demonstrates three ways to create a
var searchParams;
searchParams.searchString = 'bgcolor="#FFCCFF"';
searchParams.searchSource = true;
dreamweaver.setUpFind(searchParams);
var searchParams = {searchString: 'bgcolor="#FFCCFF"', searchSource: true};
dreamweaver.setUpFind(searchParams);
dreamweaver.setUpFind({searchString: 'bgcolor="#FFCCFF"', searchSource: ¬
true});
dreamweaver.setUpFindReplace()
Availability
Dreamweaver 3.
Description
Prepares for a text or HTML source search by defining the search parameters and the scope
for a subsequent
dreamweaver.replace()
Arguments
searchObject
The
argument is an object for which the following properties can be defined:
searchObject
The
searchString
The
replaceString
498
Code
property, which is optional, is a Boolean value that indicates whether
property, which is optional, is a Boolean value that indicates
if the value of the
useRegularExpressions
property is
property is a Boolean value that indicates whether the
.
false
property is the text for which to search.
property is the text with which to replace the selection.
ignoreWhitespace
false.
searchObject
or
dreamweaver.replaceAll()
.
false
property
property is
, and
true
object:
operation.
true

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Dreamweaver 8

Table of Contents