User Guide
Find/replace functions 383
dreamweaver.reloadCodeColoring()
Description
Reloads code coloring files from the Dreamweaver Configuration/Code Coloring folder.
Arguments
None.
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
“dreamweaver.canFindNext()” on page 444.
000_DW_API_Print.book Page 383 Wednesday, August 20, 2003 9:14 AM