@Override
  public void commitChanges() {
    CodeEditUtil.allowToMarkNodesForPostponedFormatting(false);
    try {
      PsiDocumentManager.getInstance(myProject).commitDocument(myDocument);
    }
    finally {
      CodeEditUtil.allowToMarkNodesForPostponedFormatting(true);
    }
  }
@Override
  public void commitChanges()