168
Workspace
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
If the three steps shown in the following example are selected in the History panel, a call to
the
dreamweaver.historyPalette.getStepsAsJavaScript(dw.historyPalette.getSelect
edSteps())
function returns
"dw.getDocumentDOM().insertText('Hey diddle diddle,
a cat and a fiddle, the cow jumped over the moon.');\
ndw.getDocumentDOM().newBlock();\n dw.getDocumentDOM().insertHTML('<img
src=\ "../wdw99/50browsers/images/sun.gif\">', true);\n"
:
dreamweaver.historyPalette.getUndoState()
Availability
Dreamweaver 3.
Description
Gets the current undo state.
Arguments
None.
Returns
The position of the Undo marker in the History panel.
000_DW_API_Print.book Page 168 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...