public void setDisabledRanges(@NotNull Collection<? extends TextRange> disabledRanges) {
    myDisabledRanges.clear();
    myDisabledRanges.addAll(ContainerUtil.sorted(disabledRanges, Segment.BY_START_OFFSET_THEN_END_OFFSET));
  }
public void setDisabledRanges(@NotNull Collection<? extends TextRange> disabledRanges)