mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diagnostics for EA-75948 - ISE: TextLayoutCache.checkDisposed
This commit is contained in:
+1
-1
@@ -159,6 +159,6 @@ class TextLayoutCache implements PrioritizedDocumentListener, Disposable {
|
||||
}
|
||||
|
||||
private void checkDisposed() {
|
||||
if (myLines == null) throw new IllegalStateException("Editor is already disposed");
|
||||
if (myLines == null) myView.getEditor().throwDisposalError("Editor is already disposed");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user