com.intellij.openapi.editor.event
Interface DocumentListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
DocumentAdapter

public interface DocumentListener
extends java.util.EventListener

Allows to receive notifications about changes in edited documents.

See Also:
Document.addDocumentListener(DocumentListener), EditorEventMulticaster.addDocumentListener(DocumentListener)

Method Summary
 void beforeDocumentChange(DocumentEvent event)
          Called before the text of the document is changed.
 void documentChanged(DocumentEvent event)
          Called after the text of the document has been changed.
 

Method Detail

beforeDocumentChange

void beforeDocumentChange(DocumentEvent event)
Called before the text of the document is changed.

Parameters:
event - the event containing the information about the change.

documentChanged

void documentChanged(DocumentEvent event)
Called after the text of the document has been changed.

Parameters:
event - the event containing the information about the change.