softwrap: improve Up and Down's behavior with softwrapped chunks
Use go_back_chunks() and go_forward_chunks() in do_up() and do_down() (instead of using a special and complicated computation in do_down()) so that they now properly move vertically to the previous/next chunk in softwrap mode. This also means that do_left() and do_right() will now properly move vertically at actual line boundaries.
Showing
+49 -62
Please register or sign in to comment