org.eclipse.wst.jsdt.web.core.javascript
Class DocumentChangeListenerToTextEdit
java.lang.Object
org.eclipse.wst.jsdt.web.core.javascript.DocumentChangeListenerToTextEdit
public class DocumentChangeListenerToTextEdit
- extends java.lang.Object
Provisional API: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability. It is being made available at this early stage to solicit feedback
from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
(repeatedly) as the API evolves.
this class attaches to a "cloned" document, listens for changes to that document then translates
the changes to text edits. these changes can then be applied back to the original document.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentChangeListenerToTextEdit
public DocumentChangeListenerToTextEdit()
documentAboutToBeChanged
public void documentAboutToBeChanged(DocumentEvent event)
documentChanged
public void documentChanged(DocumentEvent event)
getTextEdits
public MultiTextEdit getTextEdits()