dom.collapseSelectedCodeFragmentInverse()

Availability

Dreamweaver 8.

Description

This function collapses all code before and after the selected code in Code view.

Arguments

allowAdjustmentOfCodeFragments

Returns

Nothing.

Example

The following example adjusts and then collapses all code before and after the selected code in Code view:

var currentDOM = dw.getDocumentDOM();
currentDOM.collapseSelectedCodeFragmentInverse(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_wo175.htm