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
argument, which is optional, is the number of words that the insertion point
nTimes
must move. If
nTimes
The
bShiftIsDown
content is being selected. If
Returns
Nothing.
dom.source.replaceRange()
Availability
Dreamweaver 4.
Description
Replaces the range of source text between
is greater than
startOffset
nothing and returns
false
it replaces the range between
are greater than the number of characters in the file, it inserts the text at the end of
endOffset
the file.
Arguments
startOffset, endOffset, string
The
startOffset
replace.
The
argument is the offset that indicates the end of the block to replace.
endOffset
The
argument is the string to insert.
string
is omitted, the default is 1.
argument, which is optional, is a Boolean value that indicates whether
bShiftIsDown
startOffset
or if either offset is not a positive integer, it does
endOffset
. If
is greater than the number of characters in the file,
endOffset
startOffset
argument is the offset that indicates the beginning of the block to
is
, the content is selected.
true
and
endOffset
and the end of the file. If both
with
. If
string
and
startOffset
Code view functions
537
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?