History functions
157
Returns
Nothing.
Enabler
“dom.canUndo()” on page 441
.
dreamweaver.historyPalette.clearSteps()
Availability
Dreamweaver 3.
Description
Clears all steps from the History panel and disables the Undo and Redo menu items.
Arguments
None.
Returns
Nothing.
dreamweaver.historyPalette.copySteps()
Availability
Dreamweaver 3.
Description
Copies the specified history steps to the Clipboard. Dreamweaver warns the user about possible
unintended consequences if the specified steps include an unrepeatable action.
Arguments
arrayOfIndices
•
The
arrayOfIndices
argument is an array of position indices in the History panel.
Returns
A string that contains the JavaScript that corresponds to the specified history steps.
Example
The following code copies the first four steps in the History panel:
dreamweaver.historyPalette.copySteps([0,1,2,3]);
000_DW_API_Print.book Page 157 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...