Keyword, Keywords, Numbers – Adobe Extending Dreamweaver CS4 User Manual

Page 60

Advertising
background image

54

EXTENDING DREAMWEAVER CS4

Customizing Code view

<keyword>

Description
A string of text that defines a keyword. Multiple

keyword

tags are allowed. A keyword may start with any character,

but subsequent characters may only be

a-z

,

A-Z

,

0-9

, _,

$

, or

@

.

The code color is specified by the containing

keyword

tags.

Attributes
None.

Example

<keyword>.getdate</keyword>

<keywords>

Description
List of keywords for type specified in category attribute. Multiple

keywords

tags are allowed.

Attributes

name

,

id

name="keywords_name"

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

id="id_string"

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

Contents

<keyword></keyword>

Example

<keywords name="Reserved Keywords" id="CodeColor_JavascriptReserved">

<keyword>break</keyword>
<keyword>case</keyword>

</keywords>

<numbers/>

Description
An empty tag that specifies numbers that should be recognized and also holds color attributes.

Attributes

name

,

id

name="number_name"

A string that assigns a name to the

numbers

tag.

id="id_string"

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

Example

<numbers name="Number" id="CodeColor_CFScriptNumber" />

Advertising
This manual is related to the following products: