void (@Nullable ErrorStripeRenderer renderer) { ThreadingAssertions.assertEventDispatchThread(); if (myErrorStripeRenderer instanceof Disposable) { Disposer.dispose((Disposable)myErrorStripeRenderer); } myErrorStripeRenderer = renderer; if (renderer instanceof Disposable) { Disposer.register(resourcesDisposable, (Disposable)renderer); } //try to not cancel tooltips here, since it is being called after every writeAction, even to the console //HintManager.getInstance().getTooltipController().cancelTooltips(); }