mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-93553 Completion: multiple Loading... nodes in completion list
This commit is contained in:
+1
-1
@@ -236,7 +236,7 @@ public class CompletionLookupArranger extends LookupArranger {
|
||||
private static void ensureEverythingVisibleAdded(LookupImpl lookup, final LinkedHashSet<LookupElement> model, Iterator<LookupElement> byRelevance) {
|
||||
JList list = lookup.getList();
|
||||
final boolean testMode = ApplicationManager.getApplication().isUnitTestMode();
|
||||
final int limit = Math.max(list.getLastVisibleIndex(), model.size()) + list.getVisibleRowCount() * 3;
|
||||
final int limit = Math.max(list.getLastVisibleIndex(), model.size()) + ourUISettings.MAX_LOOKUP_LIST_HEIGHT * 3;
|
||||
addSomeItems(model, byRelevance, new Condition<LookupElement>() {
|
||||
@Override
|
||||
public boolean value(LookupElement lastAdded) {
|
||||
|
||||
Reference in New Issue
Block a user