VisualPosition (@NotNull VisualPosition pos) { if (!isColumnMode() && pos.column >= EditorUtil.getLastVisualLineColumnNumber(this, pos.line)) { return new VisualPosition(pos.line + 1, 0, false); } return new VisualPosition(pos.line, pos.column + 1, false); }