DREAMWEAVER CS3
121
API Reference
Example
If the user's last action applied bold to selected text, a call to the
function returns
dreamweaver.getRedoText()
.
"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.
Returns
A string that contains the text that is associated with the editing operation that will be undone.
Example
If the user's last action applied a Cascading Style Sheet (CSS) style to a selected range of text, a call to the
dream-
function returns
.
weaver.getUndoText()
"Undo Apply <span>"
dreamweaver.playRecordedCommand()
Availability
Dreamweaver 3.
Description
Plays the recorded command in the active document.
Arguments
None.
Returns
Nothing.
Enabler
See "dreamweaver.canPlayRecordedCommand()" on page 449
.
dreamweaver.redo()
Availability
Dreamweaver 3.
Description
Redoes the step that was most recently undone in the active Document window, dialog box, floating panel, or Site
panel.