void () { hideBalloon(); for (RangeHighlighter h : myHighlighters) { removeHighlighterWithDependent(h); } myHighlighters.clear(); if (myCursorHighlighter != null) { removeHighlighter(myCursorHighlighter); } myCursorHighlighter = null; Disposer.dispose(myDisposable); mySearchResults.removeListener(this); }