User Guide
Code view functions 413
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 from the opening of the surrounding parenthetical statement to the end of the statement to
balance the following characters:
[], {} and (). Subsequent calls expand the selection through
further levels of punctuation nesting.
Arguments
None.
Returns
Nothing.
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.
Arguments
bShiftIsDown
• The bShiftIsDown argument is a Boolean value that indicates whether content is being
selected. If
bShiftIsDown is true, the content is selected.
Returns
Nothing.
dom.source.endOfLine()
Availability
Dreamweaver 4.
Description
Places the insertion point at the end of the current line. If content is already selected, this
function extends the selection to the end of the current line.
Arguments
bShiftIsDown
• The bShiftIsDown argument is a Boolean value that indicates whether content is being
selected. If
bShiftIsDown is true, the content is selected.
000_DW_API_Print.book Page 413 Wednesday, August 20, 2003 9:14 AM