User Guide

424 Chapter 18: Code
dom.source.wrapSelection()
Availability
Dreamweaver 4.
Description
Inserts the text of startTag before the current selection and the text of endTag after the current
selection. The function then selects the entire range between, and including, the inserted tags. If
the current selection was an insertion point, then the function places the insertion point between
the
startTag and endTag. (startTag and endTag dont have to be tags; they can be any
arbitrary text.)
Arguments
startTag
, endTag
The startTag argument is the text to insert at the beginning of the selection.
The endTag argument is the text to insert at the end of the selection.
Returns
Nothing.
dom.synchronizeDocument()
Availability
Dreamweaver 4.
Description
Synchronizes the Design and Code views.
Arguments
None.
Returns
Nothing.
000_DW_API_Print.book Page 424 Wednesday, August 20, 2003 9:14 AM