mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't reuse non-completion lookups (EA-23374)
This commit is contained in:
+1
-1
@@ -218,7 +218,7 @@ public class CodeCompletionHandlerBase implements CodeInsightActionHandler {
|
||||
@NotNull
|
||||
private LookupImpl obtainLookup(Editor editor, CompletionParameters parameters) {
|
||||
LookupImpl existing = (LookupImpl)LookupManager.getActiveLookup(editor);
|
||||
if (existing != null) {
|
||||
if (existing != null && existing.isCompletion()) {
|
||||
existing.markReused();
|
||||
if (!autopopup) {
|
||||
existing.setFocused(true);
|
||||
|
||||
Reference in New Issue
Block a user