![MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Скачать руководство пользователя страница 498](http://html1.mh-extra.com/html/macromedia/dreamweaver-8-dreamweaver-api/dreamweaver-8-dreamweaver-api_reference_3332054498.webp)
498
Code
■
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
false
.
■
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 value of the
useRegularExpressions
property is
true
, and
true
if the
useRegularExpressions
property is
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.
Example
The following code demonstrates three ways to create a
searchObject
object:
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()
or
dreamweaver.replaceAll()
operation.
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
replaceString
property is the text with which to replace the selection.
000_DW_API_Print.book Page 498 Wednesday, July 20, 2005 11:58 AM
Содержание DREAMWEAVER 8-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 16: ......
Страница 28: ...28 The File I O API...
Страница 38: ...38 The HTTP API...
Страница 68: ...68 Flash Integration...
Страница 100: ...100 The Database API...
Страница 116: ...116 The JavaBeans API...
Страница 144: ...144 The Source Control Integration API...
Страница 146: ......
Страница 254: ...254 Workspace...
Страница 298: ...298 Site...
Страница 354: ...354 Document...
Страница 396: ...396 Page Content...
Страница 488: ...488 Design...
Страница 550: ...550 Code...