public static int getRangeDelta(@NotNull Range range) {
    int deleted = range.end1 - range.start1;
    int inserted = range.end2 - range.start2;
    return inserted - deleted;
  }
public static int getRangeDelta(@NotNull Range range)