Dreamweaver 8.
This function collapses the selected code in the Code inspector. If the selection is already collapsed, this function does nothing.
allowCodeFragmentAdjustment
allowCodeFragmentAdjustment is a required, Boolean value. If true, Dreamweaver modifies the current selection to perform a smart collapse, which preserves the existing indenting and spacing. If false, Dreamweaver collapses the currently selected code fragment exactly as indicated by the selection.
Nothing.
The following example adjusts and collapses the selected code in the Code inspector:
dreamweaver.htmlInspector.collapseSelectedCodeFragment(true);
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/dreamweaver/8/apiref/12_wo180.htm