From a30b7c1e9f52ce3c5c22bc09d89ec093fc989b28 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 28 Sep 2011 19:21:49 +0000 Subject: [PATCH] Window: fix scrolling when select_mode == Append --- src/window.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window.cc b/src/window.cc index 720cfb73..33042a72 100644 --- a/src/window.cc +++ b/src/window.cc @@ -193,6 +193,7 @@ void Window::move_cursor(const WindowCoord& offset) WindowCoord pos = line_and_column_at(sel.last()); sel = Selection(sel.first(), iterator_at(pos + offset)); } + scroll_to_keep_cursor_visible_ifn(); } }