Dreamweaver 8.
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.
allowACodeFragmentAdjustment
allowCodeFragmentAdjustment argument is a required, Boolean value. If true, this argument currently has no effect, or has the same effect as a value of false. If false, Dreamweaver collapses the code that begins immediately before the opening tag and ends immediately after the ending tag, without any modification.
Nothing.
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