mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-101049 - NPE: ParameterInfoComponent.<init>
This commit is contained in:
@@ -122,7 +122,7 @@ public class ShowParameterInfoContext implements CreateParameterInfoContext {
|
||||
if (editor.isDisposed() || !editor.getComponent().isVisible()) return;
|
||||
|
||||
PsiDocumentManager.getInstance(project).performLaterWhenAllCommitted(() -> {
|
||||
if (editor.isDisposed() || DumbService.isDumb(project)) return;
|
||||
if (editor.isDisposed() || DumbService.isDumb(project) || !editor.getComponent().isShowing()) return;
|
||||
|
||||
final Document document = editor.getDocument();
|
||||
if (document.getTextLength() < elementStart) return;
|
||||
|
||||
Reference in New Issue
Block a user