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
Содержание DREAMWEAVER MX 2004
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...