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