User Guide

350 Document
Arguments
bAllowEdits
The bAllowEdits argument is a Boolean value: true indicates that edits are allowed;
false otherwise. Dreamweaver automatically restores locked regions to their default
(non-editable) state when the script that calls this function finishes executing.
Returns
Nothing.
dreamweaver.getTranslatorList()
Availability
Dreamweaver 3.
Description
This function gets a list of the installed translators.
Arguments
None.
Returns
An array of strings where each string represents the name of a translator as it appears in the
Translation preferences.
dreamweaver.useTranslatedSource()
Availability
Dreamweaver 2.
Description
This function specifies that the values that dom.nodeToOffsets() and
dom.getSelection() return. These are used by dom.offsetsToNode() and
dom.setSelection() and should be offsets into the translated source (the HTML that is
contained in the DOM after a translator runs), not the untranslated source.
NOTE
This function is relevant only in Property inspector files.
000_DW_API_Print.book Page 350 Wednesday, July 20, 2005 11:58 AM