@Override
  public @NotNull DocumentContent createFragment(@Nullable Project project, @NotNull Document document, @NotNull TextRange range) {
    DocumentContent content = create(project, document);
    return createFragment(project, content, range);
  }
@Override
  public @NotNull DocumentContent createFragment(@Nullable Project project, @NotNull Document document, @NotNull TextRange range)