beautypg.com

Dreamweaver.showfinddialog() – Adobe Dreamweaver API Reference CS5 User Manual

Page 454

background image

449

DREAMWEAVER API REFERENCE

Code

Last updated 8/27/2013

Arguments
searchObject

The searchObject argument is an object for which the following properties can be defined:

The searchString property is the text for which to search.

The searchWhat is the location where the search should operate. The possible values are:

document

- Search in the current active document.

allOpenDocuments

- Search in all the open documents.

site

- Search in the current site.

selectedFiles

- Search in the selected files.

selectedText

- Search within the selected text.

The replaceString property is the text with which to replace the selection.

The searchSource property is a Boolean value that indicates whether to search the HTML source.

The {matchCase} property, which is optional, is a Boolean value that indicates whether the search is case-sensitive.
If this property is not explicitly set, it defaults to a

false

value.

The {matchWholeWord} property, which is optional, is a Boolean value that indicates whether the matches should
be considered as whole words.

The {ignoreWhitespace} property, which is optional, is a Boolean value that indicates whether white space
differences should be ignored. The ignoreWhitespace property defaults to

false

if the useRegularExpressions

property has a value of

true

, and defaults to a value of

true

if the useRegularExpressions property has a value of

false.

The {useRegularExpressions} property is a Boolean value that indicates whether the

searchString

property uses

regular expressions. If this property is not explicitly set, it defaults to a value of

false

.

Returns
Nothing.

dreamweaver.showFindDialog()

Availability
Dreamweaver 3.

Description
Opens the Find dialog box.

Arguments
None.

Returns
Nothing.

Enabler
See “

dreamweaver.canShowFindDialog()

” on page 510.