private static IndentData computeMinIndent(Editor editor, PsiFile psiFile, int line1, int line2) {
    Document document = editor.getDocument();
    IndentData minIndent = CommentUtil.getMinLineIndent(document, line1, line2, psiFile);
    if (line1 > 0) {
      int commentOffset = getCommentStart(editor, psiFile, line1 - 1);
      if (commentOffset >= 0) {
        int lineStart = document.getLineStartOffset(line1 - 1);
        IndentData indent = IndentData.createFrom(document.getCharsSequence(), lineStart, commentOffset, CodeStyle.getIndentOptions(psiFile).TAB_SIZE);
        minIndent = IndentData.min(minIndent, indent);
      }
    }
    if (minIndent == null) {
      minIndent = new IndentData(0);
    }
    return minIndent;
  }
private static IndentData computeMinIndent(Editor editor, PsiFile psiFile, int line1, int line2)