mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
let the lookup pretend to know about elements' matchers, not elements themselves
This commit is contained in:
@@ -74,9 +74,7 @@ public class JavaCharFilter extends CharFilter {
|
||||
if (c == ',' && o instanceof PsiVariable) {
|
||||
int lookupStart = ((LookupImpl)lookup).getLookupStart();
|
||||
String name = ((PsiVariable)o).getName();
|
||||
if (lookupStart >= 0 &&
|
||||
name != null &&
|
||||
name.equals(item.getPrefixMatcher().getPrefix() + ((LookupImpl)lookup).getAdditionalPrefix())) {
|
||||
if (lookupStart >= 0 && name != null && name.equals(lookup.itemPattern(item))) {
|
||||
return Result.HIDE_LOOKUP;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user