diagnostics for EA-75948 - ISE: TextLayoutCache.checkDisposed

This commit is contained in:
Dmitry Batrak
2015-11-17 11:13:17 +03:00
parent 70450d4496
commit aad1282f7a
@@ -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");
}
}