User Guide
Code view functions 541
dom.source.setCurrentLine()
Availability
Dreamweaver 4.
Description
Puts the insertion point at the beginning of the specified line. If the lineNumber argument is
not a positive integer, the function does nothing and returns
false. It puts the insertion point
at the beginning of the last line if
lineNumber is larger than the number of lines in the source.
Arguments
lineNumber
■ The lineNumber argument is the line at the beginning of which the insertion point is
placed.
Returns
A Boolean value: true if successful; false otherwise.
dom.source.startOfDocument()
Availability
Dreamweaver 4.
Description
Places the insertion point at the beginning of the Code view document. If content is already
selected, this function extends the selection to the beginning 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.
000_DW_API_Print.book Page 541 Wednesday, July 20, 2005 11:58 AM