@@ -62,7 +62,7 @@ pub fn move_vertically_visual(
62 annotations: &mut TextAnnotations,
62 annotations: &mut TextAnnotations,
63) -> Range {
63) -> Range {
64 if !text_fmt.soft_wrap {
64 if !text_fmt.soft_wrap {
65− move_vertically(slice, range, dir, count, behaviour, text_fmt, annotations);
65+ return move_vertically(slice, range, dir, count, behaviour, text_fmt, annotations);
67 annotations.clear_line_annotations();
67 annotations.clear_line_annotations();
68 let pos = range.cursor(slice);
68 let pos = range.cursor(slice);