public static int indentLine(Project project, @NotNull Editor editor, int lineNumber, int indent, int caretOffset) {
    return EditorCoreUtil.indentLine(project, editor, lineNumber, indent, caretOffset, shouldUseSmartTabs(project, editor));
  }
public static int indentLine(Project project, @NotNull Editor editor, int lineNumber, int indent, int caretOffset)