public void arrange(final @NotNull Editor editor, @NotNull PsiFile file, Collection<? extends TextRange> ranges) {
    arrange(file, ranges, new RestoreFoldArrangementCallback(editor));
  }
public void arrange(final @NotNull Editor editor, @NotNull PsiFile file, Collection<? extends TextRange> ranges)