Adobe Dreamweaver API Reference CS5 Bedienungsanleitung Seite 476

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 533
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 475
471
DREAMWEAVER API REFERENCE
Code
Last updated 8/27/2013
Returns
An object with the following properties:
The numError property, which is the number of errors
The numWarning property, which is the number of warnings
The numInfo property, which is the number of information messages
Example
theDom = dw.getDocumentDOM();
theDom.runValidation();
theDom.getAutoValidationCount();
dom.isDesignViewUpdated()
Availability
Dreamweaver 4.
Description
Determines whether the Design view and Text view content is synchronized for those Dreamweaver operations that
require a valid document state.
Arguments
None.
Returns
A Boolean value: true if the Design view (WYSIWYG) is synchronized with the text in the Text view; false otherwise.
dom.isSelectionValid()
Availability
Dreamweaver 4.
Description
Determines whether a selection is valid, meaning it is currently synchronized with the Design view, or if it needs to be
moved before an operation occurs.
Arguments
None.
Returns
A Boolean value: true if the current selection is in a valid piece of code; false if the document has not been
synchronized, because the selection is not updated.
Seitenansicht 475
1 2 ... 471 472 473 474 475 476 477 478 479 480 481 ... 532 533

Kommentare zu diesen Handbüchern

Keine Kommentare