boolean (int start, int end, @NotNull Processor<? super RangeMarker> processor) { TextRange interval = new ProperTextRange(start, end); MarkupIterator<RangeMarkerEx> iterator = IntervalTreeImpl .mergingOverlappingIterator(myRangeMarkers, interval, myPersistentRangeMarkers, interval, RangeMarker.BY_START_OFFSET); try { return ContainerUtil.process(iterator, processor); } finally { iterator.dispose(); } }