Blockstart, Brackets, Charstart – Adobe Extending Dreamweaver CS4 User Manual

Page 53

Advertising
background image

47

EXTENDING DREAMWEAVER CS4

Customizing Code view

<blockStart>

Description
Optional. Specified only if the coloring scheme can be embedded inside a different coloring scheme. The

blockStart

and

blockEnd

tags must be paired, and the combination must be unique. Values are not evaluated as case-sensitive.

The

blockStart

value must be two or more characters in length. Multiple instances of this tag are allowed. For more

information on

blockStart

strings, see “

Wildcard characters

” on page 60. For information on the

blockStartscheme

attribute, see

Scheme block delimiter coloring

” on page 57.

Attributes

canNest

,

doctypes

,

id

,

name

,

scheme

canNest

Specifies whether the scheme can nest inside itself. Values are

Yes

or

No

. The default value is

No

.

doctypes="doc_type1, doc_type2,… "

Required. Specifies a comma-separated list of document types into

which you can nest this code coloring scheme. Document types are defined in the Dreamweaver
Configuration/Document Types/MMDocumentTypes.xml file.

id="id_string"

Required when

scheme="customText"

. An identifier string that maps color and style to this

syntax item.

name="display_name"

A string that appears in the Edit Coloring Scheme dialog box when

scheme="customText"

.

scheme

Required. This defines how the

blockStart

and

blockEnd

strings are colored. For information on the

possible values for the scheme attribute, see “

Scheme block delimiter coloring

” on page 57.

Example

<blockStart doctypes="ColdFusion,CFC" scheme="innerText" canNest="Yes"><![CDATA[<!---]]>

</blockStart>

<brackets>

Description
A list of characters that represent brackets.

Attributes

name

,

id

name="bracket_name"

A string that assigns a name to the list of brackets.

id="id_string"

Required. An identifier string that maps color and style to this syntax item.

Example

<brackets name="Bracket" id="CodeColor_JavaBracket"><![CDATA[{[()]}]]>

</brackets>

<charStart>

Description
Contains a text string that represents the delimiter of the start of a character. You must specify the

charStart

and

charEnd

tags in pairs. Multiple

charStart

charEnd

pairs are allowed.

Advertising
This manual is related to the following products: