@Override
  public void reformatChanges(@NotNull PsiFile file,
                              @NotNull ChangedRangesInfo info) throws IncorrectOperationException {
    ensureDocumentCommitted(file);
    FormatTextRanges formatRanges = new FormatTextRanges(info, ChangedRangesUtil.processChangedRanges(file, info));
    reformatText(file, formatRanges, (ranges, psiFile) -> isFullRange(ranges, psiFile));
  }
@Override
  public void reformatChanges(@NotNull PsiFile file,
                              @NotNull ChangedRangesInfo info)