public class QuickEditHandler extends java.lang.Object implements Disposable, DocumentListener
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
static Key<java.lang.String> |
REPLACEMENT_KEY |
ARRAY_FACTORY, EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
void |
documentChanged(DocumentEvent e)
Called after the text of the document has been changed.
|
PsiFile |
getNewFile() |
boolean |
isValid() |
void |
navigate(int injectedOffset) |
static void |
showBalloon(Editor editor,
PsiFile newFile,
javax.swing.JComponent component) |
boolean |
tryReuse(PsiFile injectedFile,
TextRange hostRange) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
beforeDocumentChange, bulkUpdateFinished, bulkUpdateStarting
public static final Key<java.lang.String> REPLACEMENT_KEY
public boolean isValid()
public void navigate(int injectedOffset)
public static void showBalloon(Editor editor, PsiFile newFile, javax.swing.JComponent component)
public void documentChanged(DocumentEvent e)
DocumentListener
documentChanged
in interface DocumentListener
e
- the event containing the information about the change.public void dispose()
Disposable
dispose
in interface Disposable
public PsiFile getNewFile()