User Guide
414 Chapter 18: Code
Returns
Nothing.
dom.source.endPage()
Availability
Dreamweaver 4.
Description
Moves the insertion point to the end of the current page or to the end of the next page if the
insertion point is already at the end of a page. If content is already selected, this function extends
the selection page by page.
Arguments
{nTimes}
, {bShiftIsDown}
• The nTimes argument, which is optional, is the number of pages that the insertion point must
move. If
nTimes is omitted, the default is 1.
• The bShiftIsDown argument, which is optional, is a Boolean value that indicates whether
content is being selected. If
bShiftIsDown is true, the content is selected.
Returns
Nothing.
dom.source.getCurrentLines()
Availability
Dreamweaver 4.
Description
Returns the line numbers for the specified offset locations from the beginning of the document.
Arguments
None.
Returns
The line numbers for the current selection.
dom.source.getSelection()
Description
Gets the selection in the current document, which is expressed as character offsets into the
document’s Code view.
Arguments
None.
000_DW_API_Print.book Page 414 Wednesday, August 20, 2003 9:14 AM