private void assertRangeOrder(@NotNull TextRange newRange) {
    TextRange range = ContainerUtil.getLastItem(myOuterAndRemoveRanges);
    assert range == null || newRange.getStartOffset() >= range.getStartOffset();
  }
private void assertRangeOrder(@NotNull TextRange newRange)