User Guide
Code view functions 531
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.
000_DW_API_Print.book Page 531 Wednesday, July 20, 2005 11:58 AM