private static int getCommentStartColumn(@NotNull PsiComment element, int tabSize) {
    PsiFile file = element.getContainingFile();
    if (file == null) return 0;
    String text = file.getText();
    if (text == null) return 0;
    int elementOffset = element.getTextRange().getStartOffset();
    int lineStart = CharArrayUtil.shiftBackwardUntil(text, elementOffset - 1, "\n") + 1;
    int column = 0;
    for (int i = lineStart; i < elementOffset; i++) {
      column = nextColumn(column, text.charAt(i), tabSize);
    }
    return column;
  }
private static int getCommentStartColumn(@NotNull PsiComment element, int tabSize)