dreamweaver.canUndo()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform an Undo operation in the current context.
Arguments
None.
Returns
A Boolean value that indicates whether any operations can be undone.
dreamweaver.cssRuleTracker.canEditSelectedRule()
Availability
Dreamweaver MX 2004.
Description
Checks whether the Property Grid editor can be applied to the selected rule. Because the Property
Grid can display rules in locked files, a return value of
be modified.
Arguments
None.
Returns
A Boolean value:
otherwise.
false
Example
The following code checks whether the enabler function has been set to the value
allowing edits to the selected rule:
if(dw.cssRuleTracker.canEditSelectedRule()){
dw.cssRuleTracker.editSelectedRule();
}
dreamweaver.cssStylePalette.canApplySelectedStyle()
Availability
Dreamweaver MX.
Description
Checks the current active document to see whether the selected style can be applied.
Arguments
None.
if the Property Grid editor can be applied to the selected rule;
true
does not guarantee that the rule can
true
before
true
Enablers
449
Need help?
Do you have a question about the DREAMWEAVER MX 2004-DREAMWEAVER API and is the answer not in the manual?