User Guide

566 Enablers
dreamweaver.canDeleteSelection()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can delete the current selection. Depending on the window
that has focus, the deletion might occur in the Document window or the Site panel (on the
Macintosh, in an text field in a dialog box or floating panel).
Arguments
None.
Returns
A Boolean value: true if the opening and closing offsets for the selection are different, which
indicates that there is a selection;
false if the offsets are the same, indicating that there is only
an insertion point.
dreamweaver.canExportCSS()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform an Export CSS Styles operation.
Arguments
None.
Returns
A Boolean value: true if the document contains any class styles that are defined in the HEAD
section;
false otherwise.
000_DW_API_Print.book Page 566 Wednesday, July 20, 2005 11:58 AM