Dom.source.previousword(), Dom.source.replacerange(), Dom.source.pageup() – Adobe Dreamweaver API Reference CS5 User Manual
Page 485

480
DREAMWEAVER API REFERENCE
Code
Last updated 8/27/2013
dom.source.pageUp()
Availability
Dreamweaver 4.
Description
Moves the insertion point up the Code view document, page by 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.previousWord()
Availability
Dreamweaver 4.
Description
Moves the insertion point to the beginning of the previous word (or words, if specified) in Code view. If content is
already selected, this function extends the selection to the left.
Arguments
{nTimes}, {bShiftIsDown}
•
The nTimes argument, which is optional, is the number of words 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.replaceRange()
Availability
Dreamweaver 4.