beautypg.com

Color functions, Dreamweaver.getpanelcolor() – Adobe Dreamweaver API Reference CS5 User Manual

Page 218

background image

213

DREAMWEAVER API REFERENCE

Workspace

Last updated 8/27/2013

dreamweaver.htmlInspector.setShowHiddenCharacters()

Availability
Dreamweaver 8.

Description
This function shows or hides the special characters for white spaces in the Code view of the Code inspector.

Arguments
show

The show argument, which is required, is a Boolean value that indicates whether to display hidden characters for
white spaces.

Returns
A Boolean:

true

if the hidden characters are displayed;

false

otherwise.

Example
See “

dreamweaver.htmlInspector.getShowHiddenCharacters()

” on page 212.

Color functions

The following color functions enable you to ensure that the extensions have the same skin as the application user
interface.

dreamweaver.getPanelColor()

Availability
Dreamweaver CS4.

Description
This function retrieves the panel colors of the application user interface. You can use these colors as panel colors for
the extensions. This function helps you to ensure that the panel colors of extensions blend with the panel color of the
application user interface.

Arguments
None.

Returns
An array of strings of size 4 with the following values:

Red

Green

Blue

Alpha