protected boolean unregisterInTree() { if (!isValid()) return false; IntervalTreeImpl tree = myNode.getTree(); tree.checkMax(true); boolean b = myDocument.removeRangeMarker(this); tree.checkMax(true); return b; }
@Override public boolean removeRangeMarker(@NotNull RangeMarkerEx rangeMarker) { return myDelegate.removeRangeMarker(((RangeMarkerWindow) rangeMarker).getDelegate()); }