static void scheduleIndentAdjustment(@NotNull Project project,
                                       @NotNull Document document,
                                       int offset) {
    PsiFile file = PsiDocumentManager.getInstance(project).getPsiFile(document);
    if (file != null) {
      IndentAdjusterRunnable fixer = new IndentAdjusterRunnable(project, document, file, offset);
      PsiDocumentManager documentManager = PsiDocumentManager.getInstance(project);
      if (isSynchronousAdjustment(document, file)) {
        documentManager.commitDocument(document);
      }
      fixer.run();
    }
  }
static void scheduleIndentAdjustment(@NotNull Project project,
                                       @NotNull Document document,
                                       int offset)