From 8dd812482b6658ab553fa692ee69a8d36d2e5d93 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 17 Aug 2011 22:31:59 +0200 Subject: [PATCH] some todos --- .../src/com/intellij/codeInsight/lookup/impl/LookupImpl.java | 2 ++ 1 file changed, 2 insertions(+) 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; }