public abstract class CharFilter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CharFilter.Result |
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<CharFilter> |
EP_NAME |
Constructor and Description |
---|
CharFilter() |
Modifier and Type | Method and Description |
---|---|
abstract CharFilter.Result |
acceptChar(char c,
int prefixLength,
Lookup lookup)
Informs about further action on typing character c when completion lookup has specified prefix.
|
public static final ExtensionPointName<CharFilter> EP_NAME
public abstract CharFilter.Result acceptChar(char c, int prefixLength, Lookup lookup)
c
- character being insertedprefixLength
- lookup
- CharFilter
should handle this char. Default char filter handles common cases like finishing with ' ', '(', ';', etc.