@Nullable
  static TextRange formatRangeInFile(@NotNull PsiFile source,
                                     @NotNull TextRange range,
                                     boolean canChangeWhiteSpacesOnly,
                                     boolean keepLineBreaks,
                                     boolean enableBulkUpdate,
                                     int cursorOffset) {
    ExternalFormatProcessor efp = activeExternalFormatProcessor(source);
    return efp != null ? efp.format(source, range, canChangeWhiteSpacesOnly, keepLineBreaks, enableBulkUpdate, cursorOffset) : null;
  }
@Nullable
  static TextRange formatRangeInFile(@NotNull PsiFile source,
                                     @NotNull TextRange range,
                                     boolean canChangeWhiteSpacesOnly,
                                     boolean keepLineBreaks,
                                     boolean enableBulkUpdate,
                                     int cursorOffset)