dom.expandSelectedCodeFragments()

Availability

Dreamweaver 8.

Description

This function expands all collapsed code fragments in Code view that are within the current selection. If the selection is already expanded, this function does nothing.

Arguments

None.

Returns

Nothing.

Example

The following example expands all collapsed code in the current selection in Code view:

var currentDOM = dw.getDocumentDOM();
currentDOM.expandSelectedCodeFragments();

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/dreamweaver/8/apiref/12_wo177.htm