fixed completion disappear, clearer API

This commit is contained in:
Alexey Kudravtsev
2011-07-06 14:31:57 +04:00
parent 6d055866d5
commit 4e62926d4c
5 changed files with 64 additions and 39 deletions
@@ -103,7 +103,7 @@ abstract class CompletionAutoPopupTestCase extends LightCodeInsightFixtureTestCa
}
edt {
PsiDocumentManager manager = PsiDocumentManager.getInstance(getProject());
manager.performWhenAllDocumentsAreCommitted("wait for all comm", runnable);
manager.cancelAndRunWhenAllCommitted("wait for all comm", runnable);
}
while (!committed.get()) {
UIUtil.pump();