User Guide

248 Workspace
Example
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);
dreamweaver.htmlInspector.expandAllCodeFragments()
Availability
Dreamweaver 8.
Description
This function expands all collapsed code fragments in the Code inspector, including nested
collapsed code fragments.
Arguments
None.
Returns
Nothing.
Example
The following example expands all collapsed code in the Code inspector:
dreamweaver.htmlInspector.expandAllCodeFragments();
dreamweaver.htmlInspector.expandSelectedCode
Fragments()
Availability
Dreamweaver 8.
Description
This function expands all collapsed code fragments within the current selection in the Code
inspector. If the selection is already expanded, this function does nothing.
Arguments
None.
Returns
Nothing.
000_DW_API_Print.book Page 248 Wednesday, July 20, 2005 11:58 AM