Adobe Dreamweaver API Reference CS5 Manual do Utilizador Página 210

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 533
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 209
205
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
dom.collapseSelectedCodeFragmentInverse()
Availability
Dreamweaver 8.
Description
This function collapses all code before and after the selected code in Code view.
Arguments
allowAdjustmentOfCodeFragments
The allowAdjustmentOfCodeFragments argument is a required, Boolean value. If true, Dreamweaver adjusts the
boundaries of the code before and after the current selection to perform a smart collapse, which preserves the
current indenting and spacing. If
false, Dreamweaver collapses the code fragments exactly as indicated by the
selection.
Returns
Nothing.
Example
The following example adjusts and then collapses all code before and after the selected code in Code view:
var currentDOM = dw.getDocumentDOM();
currentDOM.collapseSelectedCodeFragmentInverse(true);
dom.expandAllCodeFragments()
Availability
Dreamweaver 8.
Description
This function expands all collapsed code fragments in Code view, including nested collapsed code fragments.
Arguments
None.
Returns
Nothing.
Example
The following example expands all collapsed code in Code view:
var currentDOM = dw.getDocumentDOM();
currentDOM.expandAllCodeFragments();
Vista de página 209
1 2 ... 205 206 207 208 209 210 211 212 213 214 215 ... 532 533

Comentários a estes Manuais

Sem comentários