Functionkeyword, Idchar1, Idcharrest – Adobe Extending Dreamweaver CS4 User Manual

Page 58

Advertising
background image

52

EXTENDING DREAMWEAVER CS4

Customizing Code view

Example

<entity name="Special Characters" id="CodeColor_HTMLEntity" />

<functionKeyword>

Description
Identifies keywords that define a function. Dreamweaver uses these keywords to perform code navigation. Multiple

functionKeyword

tags are allowed.

Attributes

name

,

id

name="functionKeyword_name"

A string that assigns a name to the

functionKeyword

block.

id="id_string"

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

Example

<functionKeyword name="Function Keyword"

id="CodeColor_JavascriptFunction">function</functionKeyword>

<idChar1>

Description
A list of characters, each of which Dreamweaver can recognize as the first character in an identifier.

Attributes

name

,

id

name="idChar1_name"

A string that assigns a name to the list of identifier characters.

id="id_string"

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

Example

<idChar1>_$abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</idChar1>

<idCharRest>

Description
A list of characters that are to be recognized as the remaining characters in an identifier. If

idChar1

is not specified,

all characters of the identifier are validated against this list.

Attributes

name

,

id

name="idCharRest_name"

A string that assigns a name to the

stringStart

block.

id="id_string"

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

Example

<idCharRest name="Identifier" id="CodeColor_JavascriptIdentifier">

_$abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789</idCharRest>

Advertising
This manual is related to the following products: