Adobe 38040334 - Dreamweaver CS3 User Manual page 192

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

Advertisement

Arguments
allowAdjustmentOfCodeFragments
• The
allowAdjustmentOfCodeFragments
the boundaries of the code before the start tag and of the code after the end tag to perform a smart collapse, which
preserves the existing indenting and spacing. If
the code after the end tag, without any modifications.
Returns
Nothing.
Example
The following example performs a smart collapse on the code sections occurring before the starting tag and after the
ending tag of the current selection:
dreamweaver.htmlInspector.collapseFullTagInverse(true);
dreamweaver.htmlInspector.collapseSelectedCodeFragment()
Availability
Dreamweaver 8.
Description
This function collapses the selected code in the Code inspector. If the selection is already collapsed, this function
does nothing.
Arguments
allowCodeFragmentAdjustment
• The
allowCodeFragmentAdjustment
selection to perform a smart collapse, which preserves the existing indenting and spacing. If
collapses the currently selected code fragment exactly as indicated by the selection.
Returns
Nothing.
Example
The following example adjusts and collapses the selected code in the Code inspector:
dreamweaver.htmlInspector.collapseSelectedCodeFragment(true);
dreamweaver.htmlInspector.collapseSelectedCodeFragmentInverse()
Availability
Dreamweaver 8.
Description
This function collapses all code before and after the selected code in the Code inspector. If the selection is already
collapsed, this function does nothing.
argument is a required, Boolean value. If
, Dreamweaver collapses the code before the open tag and
false
is a required, Boolean value. If
, Dreamweaver adjusts
true
, Dreamweaver modifies the current
true
false
DREAMWEAVER CS3
187
API Reference
, Dreamweaver

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents