dreamweaver.htmlInspector.collapseFullTag()

Availability

Dreamweaver 8.

Description

This function determines whether the selection in the Code inspector is entirely within a single pair of start and end tags or contains a single pair of start and end tags. If so, it collapses the code fragment that starts just before the start tag and ends after the end tag; if not, the function does nothing.

Arguments

allowACodeFragmentAdjustment

Returns

Nothing.

Example

The following example collapses the code fragment in the current selection in the Code inspector that starts just before the start tag and ends just after the end tag:

dreamweaver.htmlInspector.collapseFullTag(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_wo178.htm