public static void moveCaretToLineStartIgnoringSoftWraps(@NotNull Editor editor) {
    editor.getCaretModel().moveToLogicalPosition(EditorUtil.calcCaretLineRange(editor).first);
  }
public static void moveCaretToLineStartIgnoringSoftWraps(@NotNull Editor editor)