170
Workspace
Example
The following example saves the fourth, sixth, and eighth steps in the History panel as a
command:
dreamweaver.historyPalette.saveAsCommand([3,5,7]);
dreamweaver.historyPalette.setSelectedSteps()
Availability
Dreamweaver 3.
Description
Selects the specified steps in the History panel.
Arguments
arrayOfIndices
■
The
arrayOfIndices
function is an array of position indices in the History panel. If no
argument is supplied, all the steps are unselected.
Returns
Nothing.
Example
The following example selects the first, second, and third steps in the History panel:
dreamweaver.historyPalette.setSelectedSteps([0,1,2]);
dreamweaver.historyPalette.setUndoState()
Availability
Dreamweaver 3.
Description
Performs the correct number of undo or redo operations to arrive at the specified undo state.
Arguments
undoState
■
The
undoState
argument is the object that the
dreamweaver.historyPalette.getUndoState()
function returns.
000_DW_API_Print.book Page 170 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...