User Guide
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 Control+Y (Windows) or Command+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 Control+Z (Windows) or Command+Z (Macintosh).
Arguments
None.
000_DW_API_Print.book Page 154 Wednesday, August 20, 2003 9:14 AM