@Nullable
  @Override
  public List<List<LineFragment>> compare(@NotNull CharSequence text1,
                                          @NotNull CharSequence text2,
                                          @NotNull List<? extends Range> linesRanges,
                                          @NotNull ProgressIndicator indicator) {
    LineOffsets lineOffsets1 = LineOffsetsUtil.create(text1);
    LineOffsets lineOffsets2 = LineOffsetsUtil.create(text2);
    return doCompare(text1, text2, lineOffsets1, lineOffsets2, linesRanges, indicator);
  }
@Nullable
  @Override
  public List<List<LineFragment>> compare(@NotNull CharSequence text1,
                                          @NotNull CharSequence text2,
                                          @NotNull List<? extends Range> linesRanges,
                                          @NotNull ProgressIndicator indicator)