
507
DREAMWEAVER API REFERENCE
Enablers
Last updated 8/27/2013
Arguments
None.
Returns
The name of the currently selected tag or a null value if no tag is selected.
dreamweaver.canRedo()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Redo operation in the current context.
Arguments
None.
Returns
A Boolean value that indicates whether any operations can be undone.
dreamweaver.canRevertDocument()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Revert (to the last-saved version) operation.
Arguments
documentObject
• The documentObject argument is the object at the root of a document’s DOM tree (the value that the
dreamweaver.getDocumentDOM() function returns).
Returns
A Boolean value that indicates whether the document is in an unsaved state and a saved version of the document exists
on a local drive.
dreamweaver.canSaveAll()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Save All operation.
Commenti su questo manuale