Dom.source.balancebracestextview(), Dom.source.docodenavitem(), Dom.source.endofdocument() – Adobe Dreamweaver API Reference CS5 User Manual
Page 479

474
DREAMWEAVER API REFERENCE
Code
Last updated 8/27/2013
Returns
Nothing.
dom.source.balanceBracesTextView()
Availability
Dreamweaver 4.
Description
This function is a Code view extension that enables parentheses balancing. You can call
dom.source.balanceBracesTextView()
to extend a currently highlighted selection or insertion point. The
extension is from the opening of the surrounding parenthetical statement to the end of the statement. It is to balance
the following characters:
[]
,
{},
and
()
. Subsequent calls expand the selection through further levels of punctuation
nesting.
Arguments
None.
Returns
Nothing.
dom.source.doCodeNavItem()
Availability
Dreamweaver 4.
Description
This function loads the Code Navigator and populates it with targets for the current selection. However, it does not by
itself do any navigation or open any related file.
Arguments
None
Returns
A Boolean value:
true
if the Code Navigator is opened;
false
if it cannot be opened because the current selection has
no navigation targets.
dom.source.endOfDocument()
Availability
Dreamweaver 4.
Description
Places the insertion point at the end of the current Code view document. If content is already selected, this function
extends the selection to the end of the document.