Adobe 38040334 - Dreamweaver CS3 User Manual page 401

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

The
argument is an object for which the following properties can be defined:
searchObject
• The
property is the text for which to search.
searchString
• The
property is the text with which to replace the selection.
replaceString
• The
property is a Boolean value that indicates whether to search the HTML source.
searchSource
• The
property, which is optional, is a Boolean value that indicates whether the search is case-
{matchCase}
sensitive. If this property is not explicitly set, it defaults to a
• The
{ignoreWhitespace}
differences should be ignored. The
property has a value of
sions
a value of
false.
• The
{useRegularExpressions}
uses regular expressions. If this property is not explicitly set, it defaults to a value of
Returns
Nothing.
Example
The following code demonstrates three ways to create a
var searchParams;
searchParams.searchString = 'bgcolor="#FFCCFF"';
searchParams.replaceString = 'bgcolor="#CCFFCC"';
searchParams.searchSource = true;
dreamweaver.setUpFindReplace(searchParams);
var searchParams = {searchString: 'bgcolor="#FFCCFF"', replaceString: 'bgcolor="#CCFFCC"',
searchSource: true};
dreamweaver.setUpFindReplace(searchParams);
dreamweaver.setUpFindReplace({searchString: 'bgcolor="#FFCCFF"',
replaceString: 'bgcolor="#CCFFCC"', searchSource: true});
dreamweaver.showFindDialog()
Availability
Dreamweaver 3.
Description
Opens the Find dialog box.
Arguments
None.
Returns
Nothing.
Enabler
See "dreamweaver.canShowFindDialog()" on page 452.
property, which is optional, is a Boolean value that indicates whether white space
ignoreWhitespace
, and defaults to a value of
true
property is a Boolean value that indicates whether the
searchObject
value.
false
property defaults to
false
if the
true
useRegularExpressions
object:
DREAMWEAVER CS3
API Reference
if the
useRegularExpres-
property has
property
searchString
.
false
396

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents