diff --git a/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java b/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java index 472ad3595e25..4b9716274208 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java @@ -328,6 +328,7 @@ public class LookupImpl extends LightweightHint implements LookupEx, Disposable } void appendPrefix(char c) { + //todo this checkReused + refreshUi clears the lookup which fails testChoosingItemDuringCopyCommit checkReused(); checkValid(); myAdditionalPrefix += c; @@ -337,6 +338,7 @@ public class LookupImpl extends LightweightHint implements LookupEx, Disposable ensureSelectionVisible(); } + //todo closing such a lookup still cancels the live template, it shouldn't public void setStartCompletionWhenNothingMatches(boolean startCompletionWhenNothingMatches) { myStartCompletionWhenNothingMatches = startCompletionWhenNothingMatches; }