Adobe Dreamweaver API Reference CS5 Instrukcja Użytkownika Strona 213

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 533
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 212
208
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
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.
Arguments
allowAdjustmentOfCodeFragments
The allowAdjustmentOfCodeFragments argument is a required, Boolean value. If true, Dreamweaver adjusts 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
false, Dreamweaver collapses the code sections exactly as 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();
Przeglądanie stron 212
1 2 ... 208 209 210 211 212 213 214 215 216 217 218 ... 532 533

Komentarze do niniejszej Instrukcji

Brak uwag