void () { ThreadingAssertions.assertEventDispatchThread(); Navigatable navigatable = myPendingNavigatable; if (navigatable != null) { myPendingNavigatable = null; TextEditor editor = getTextEditor(); assert editor != null; editor.navigateTo(navigatable); } if (myMockTextEditor != null) { if (!myMockTextEditor.isDisposed()) { EditorFactory.getInstance().releaseEditor(myMockTextEditor); } myMockTextEditor = null; } }