Adobe 38040334 - Dreamweaver CS3 User Manual page 431

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Returns
Nothing.
dom.source.replaceRange()
Availability
Dreamweaver 4.
Description
Replaces the range of source text between
than
or if either offset is not a positive integer, it does nothing and returns
endOffset
than the number of characters in the file, it replaces the range between
and
startOffset
endOffset
the file.
Arguments
startOffset, endOffset, string
• The
argument is the offset that indicates the beginning of the block to replace.
startOffset
• The
argument is the offset that indicates the end of the block to replace.
endOffset
• The
argument is the string to insert.
string
Returns
A Boolean value:
if successful;
true
dom.source.scrollEndFile()
Availability
Dreamweaver 4.
Description
Scrolls the Code view to the bottom of the document file without moving the insertion point.
Arguments
None.
Returns
Nothing.
dom.source.scrollLineDown()
Availability
Dreamweaver 4.
Description
Scrolls the Code view down line by line without moving the insertion point.
and
startOffset
are greater than the number of characters in the file, it inserts the text at the end of
otherwise.
false
with
. If
endOffset
string
false
and the end of the file. If both
startOffset
DREAMWEAVER CS3
API Reference
is greater
startOffset
. If
is greater
endOffset
426

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents