Code View Functions - Adobe 38040334 - Dreamweaver CS3 User Manual

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Description
Displays the Quick Tag Editor for the current selection.
Arguments
{nearWhat}, {mode}
• The optional
nearWhat
is omitted, the default value is
• The optional
argument, if specified, must be
mode
or omitted, Dreamweaver uses heuristics to determine the mode to use for the current selection. The
"default"
argument is ignored if
mode
Returns
Nothing.

Code view functions

Code view functions include operations that are related to editing document source code (and that have subsequent
impact on the Design view). The functions in this section let you add navigational controls to Code views within a
split document view or the Code inspector window.
dom.formatRange()
Availability
Dreamweaver MX.
Description
Applies Dreamweaver automatic syntax formatting to a specified range of characters in the Code view, according to
the settings in the Preferences > Code Format dialog box.
Arguments
startOffset, endOffset
• The
argument is an integer that represents the beginning of the specified range as the offset from
startOffset
the beginning of the document.
• The
argument is an integer that represents the end of the specified range as the offset from the
endOffset
beginning of the document.
Returns
Nothing.
dom.formatSelection()
Availability
Dreamweaver MX.
argument, if specified, must be either
.
"selection"
is
nearWhat
"tag selector"
or
"selection"
,
,
"default"
"wrap"
"insert"
.
DREAMWEAVER CS3
. If this argument
"tag selector"
, or
. If
is
"edit"
mode
415
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents