User Guide
162 Workspace
dom.undo()
Availability
Dreamweaver 3.
Description
Undoes the previous step in the document.
Arguments
None.
Returns
Nothing.
Enabler
See “dom.canUndo()” on page 563.
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".
000_DW_API_Print.book Page 162 Wednesday, July 20, 2005 11:58 AM