select the most relevant item only on explicit user actions (e.g. typing), otherwise try to preserve the lookup selection

This commit is contained in:
peter
2012-04-27 16:48:02 +02:00
parent 8816d38e8f
commit 46d153a76c
12 changed files with 28 additions and 28 deletions
@@ -527,7 +527,7 @@ public interface Test {
myFixture.completeBasic()
while (!lookup.items) {
Thread.sleep(10)
edt { lookup.refreshUi(false) }
edt { lookup.refreshUi(false, false) }
}
edt { myFixture.type '\t' }
myFixture.checkResult 'public interface Test { RuntimeException<caret>x }'