beautypg.com

Innertext, Customtext, Outertag – Adobe Extending Dreamweaver CS4 User Manual

Page 64

background image

58

EXTENDING DREAMWEAVER CS4

Customizing Code view

innerText

This value tells Dreamweaver to color the block delimiters the same as the default text of the scheme inside them.

The Template scheme provides an example of the effect of this scheme. The Template scheme matches blocks of read-
only code that are colored gray because you cannot edit them. The block delimiters, which are the

-->

-- and

strings, are also colored gray because they also are not editable.

Sample code

header



Here's some editable text


 


Example

JSP,LibraryItem,PHP_MySQL" scheme="innerText">

customText

This value tells Dreamweaver to use custom colors to color the block delimiters.

Sample code
The delimiters for blocks of PHP script, which appear in red, provide an example of the effect of the

customText

value:

if ($loginMsg <> "")
echo $loginMsg;
?>

Example

scheme="customText">

outerTag

The

outerTag

value specifies that both the

blockStart

and

blockEnd

tags are complete tags and that Dreamweaver

should color them as tags would be colored in the scheme that surrounds them.

The JavaScript scheme, in which

strings are the

blockStart

and

blockEnd

tags, provides

an example of this value. This scheme matches blocks of JavaScript code, which does not recognize tags, so the
delimiters need to be colored by the scheme that surrounds them.

Sample code

This manual is related to the following products: