![MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API Reference Download Page 154](http://html1.mh-extra.com/html/macromedia/dreamweaver-mx-2004-dreamweaver-api/dreamweaver-mx-2004-dreamweaver-api_reference_3336554154.webp)
154
Chapter 12: Workspace
dom.undo()
Availability
Dreamweaver 3.
Description
Undoes the previous step in the document.
Arguments
None.
Returns
Nothing.
Enabler
“dom.canUndo()” on page 441
.
dreamweaver.getRedoText()
Availability
Dreamweaver 3.
Description
Gets the text that is associated with the editing operation that will be redone if the user selects
Edit > Redo or presses Y (Windows) or Y (Macintosh).
Arguments
None.
Returns
A string that contains the text that is associated with the editing operation that will be redone.
Example
If the user’s last action applied bold to selected text, a call to the
dreamweaver.getRedoText()
function returns
"Repeat Apply Bold"
.
dreamweaver.getUndoText()
Availability
Dreamweaver 3.
Description
Gets the text that is associated with the editing operation that will be undone if the user selects
Edit > Undo or presses Z (Windows) or Z (Macintosh).
Arguments
None.
000_DW_API_Print.book Page 154 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...