Adobe 38040334 API Reference - Page 426
dom.source.end dom.source.getCurrentLines, dom.source.getSelection
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 426 highlights
DREAMWEAVER CS3 421 API Reference 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. Returns A pair of integers that represent offsets from the beginning of the source document. The first integer is the opening of the selection; the second is the closing of the selection. If the two numbers are equal, the selection is an insertion point. If there is no selection in the source, both numbers are -1.