public class LookupOffsets extends java.lang.Object implements DocumentListener
ARRAY_FACTORY, EMPTY_ARRAY
Constructor and Description |
---|
LookupOffsets(Editor editor) |
Modifier and Type | Method and Description |
---|---|
void |
appendPrefix(char c) |
void |
documentChanged(DocumentEvent e)
Called after the text of the document has been changed.
|
java.lang.String |
getAdditionalPrefix() |
int |
getPrefixLength(LookupElement item,
LookupImpl lookup) |
boolean |
truncatePrefix() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
beforeDocumentChange, bulkUpdateFinished, bulkUpdateStarting
public LookupOffsets(Editor editor)
public void documentChanged(DocumentEvent e)
DocumentListener
documentChanged
in interface DocumentListener
e
- the event containing the information about the change.public java.lang.String getAdditionalPrefix()
public void appendPrefix(char c)
public boolean truncatePrefix()
public int getPrefixLength(LookupElement item, LookupImpl lookup)