@Override
  public @Nullable String getLineIndent(@NotNull Document document, int offset) {
    PsiFile file = PsiDocumentManager.getInstance(myProject).getPsiFile(document);
    if (file == null) return "";

    return getLineIndent(file, offset);
  }
@Override
  public @Nullable String getLineIndent(@NotNull Document document, int offset)