public void addOuterRange(@NotNull TextRange range, boolean isInsertion) {
    myOuterAndRemoveRanges.add(isInsertion ? new RangeCollectorImpl.InsertionRange(range.getStartOffset(), range.getEndOffset()) : range);
  }
public void addOuterRange(@NotNull TextRange range, boolean isInsertion)