void (@NotNull ErrorStripeMarkerImpl errorStripeMarker) { RangeHighlighterEx highlighter = errorStripeMarker.getHighlighter(); treeFor(highlighter).removeInterval(errorStripeMarker); EdtInvocationManager.invokeLaterIfNeeded(() -> { if (!myEditor.isDisposed()) { myListeners.forEach(l -> l.errorMarkerChanged(new ErrorStripeEvent(myEditor, null, highlighter))); } }); }