@Deprecated
  public void reformatTextWithContext(@NotNull PsiFile file, @NotNull Collection<? extends TextRange> ranges) throws IncorrectOperationException {
    List<TextRange> rangesList = new ArrayList<>(ranges);
    reformatChanges(file, new ChangedRangesInfo(rangesList, null));
  }
@Deprecated
  public void reformatTextWithContext(@NotNull PsiFile file, @NotNull Collection<? extends TextRange> ranges)