mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix completion tests
This commit is contained in:
@@ -783,7 +783,7 @@ public class LookupImpl extends LightweightHint implements LookupEx, Disposable
|
||||
|
||||
final String prefix = itemPattern(item);
|
||||
final int length = prefix.length();
|
||||
if (length == 0) return lookupString;
|
||||
if (length == 0 || !StringUtil.startsWithIgnoreCase(lookupString, prefix)) return lookupString;
|
||||
boolean isAllLower = true;
|
||||
boolean isAllUpper = true;
|
||||
boolean sameCase = true;
|
||||
|
||||
Reference in New Issue
Block a user