Code view functions
417
dom.source.insert()
Availability
Dreamweaver 4.
Description
Inserts the specified string into the source code at the specified offset from the beginning of the
source file. If the offset is not greater than or equal to zero, the insertion fails and the function
returns
false
.
Arguments
offset
,
string
•
The
offset
argument is the offset from the beginning of the file where the string must
be inserted.
•
The
string
argument is the string to insert.
Returns
A Boolean value:
true
if successful;
false
otherwise.
dom.source.nextWord()
Availability
Dreamweaver 4.
Description
Moves the insertion point to the beginning of the next word (or words, if specified) in the Code
view. If content is already selected, this function extends the selection to the right.
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.outdentTextview()
Availability
Dreamweaver 4.
Description
Moves selected Code view text one tab stop to the left.
000_DW_API_Print.book Page 417 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...