User Guide

494 Code
Returns
Nothing.
Example
dreamweaver.reloadCodeColoring()
Find/replace functions
Find/replace functions handle find and replace operations. They cover basic functionality,
such as finding the next instance of a search pattern, and complex replacement operations that
require no user interaction.
dreamweaver.findNext()
Availability
Dreamweaver 3; modified in Dreamweaver MX 2004.
Description
Finds the next instance of the search string that was specified previously by
dreamweaver.setUpFind(), by dreamweaver.setUpComplexFind(), or by the user in the Find
dialog box, and selects the instance in the document.
Arguments
{bUseLastSetupSearch}
The bUseLastSetupSearch argument, which is optional, is a Boolean value. If
bUseLastSetupSearch is the value true, which is the default if no argument is given, the
function does a find-next operation using the parameters specified by a previous call to
either the
dreamweaver.setupComplexFind() function or the
dreamweaver.setupComplexFindReplace() function. If you set
bUseLastSetupSearch to the value false, the function ignores the previously set up
search and performs a search for the next instance of the text that is currently selected in
the document.
Returns
Nothing.
Enabler
See dreamweaver.canFindNext()” on page 567.
000_DW_API_Print.book Page 494 Wednesday, July 20, 2005 11:58 AM