User Guide
Enablers 451
dreamweaver.cssStylePalette.canEditStyleSheet()
Availability
Dreamweaver MX.
Description
Checks the current selection to see whether it contains style sheet elements that can be edited.
Arguments
None.
Returns
A Boolean value: true if the selection is a style sheet node or a style definition within a style sheet
node and the style sheet is neither hidden nor this document;
false if the selection is hidden or
in this document.
dreamweaver.isRecording()
Availability
Dreamweaver 3.
Description
Reports whether Dreamweaver is currently recording a command.
Arguments
None.
Returns
A Boolean value that indicates whether Dreamweaver is recording a command.
dreamweaver.htmlStylePalette.canEditSelection()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can edit, delete, or duplicate the selection in the HTML
Styles panel.
Arguments
None.
Returns
A Boolean value: true if Dreamweaver can edit, delete, or duplicate the selection in the HTML
Styles panel;
false if no style is selected or if one of the clear styles is selected.
000_DW_API_Print.book Page 451 Wednesday, August 20, 2003 9:14 AM