beautypg.com

Dreamweaver.isrecording(), Dreamweaver.htmlstylepalette.caneditselection() – Adobe Dreamweaver API Reference CS5 User Manual

Page 519

background image

514

DREAMWEAVER API REFERENCE

Enablers

Last updated 8/27/2013

dreamweaver.cssStylePalette.canRenameSelectedStyle()

Availability
Dreamweaver MX.

Description
Checks the current active document to see whether the selected style can be renamed.

Arguments
{pane}

The pane argument, which is optional, is a string that specifies the pane of the Styles panel to which this function
applies. Possible values are

"stylelist"

, which is the list of styles in “All” mode;

"cascade"

, which is the list of

applicable, relevant rules in “Current” mode;

"summary"

, which is the list of properties for the current selection in

“Current” mode; and

"ruleInspector"

, which is the editable list or grid of properties in “Current” mode. The

default value is

"stylelist"

.

Returns
A Boolean value:

true

if the selected style can be renames;

false

otherwise.

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.