Adobe 38040334 - Dreamweaver CS3 User Manual page 193

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Arguments
allowAdjustmentOfCodeFragments
• The
allowAdjustmentOfCodeFragments
the boundaries of the code sections before and after the current selection to perform a smart collapse, which
preserves the current indenting and spacing. If
indicated by the selection.
Returns
Nothing.
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.expandSelectedCodeFragments()
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.
argument is a required, Boolean value. If
, Dreamweaver collapses the code sections exactly as
false
DREAMWEAVER CS3
API Reference
, Dreamweaver adjusts
true
188

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents