Window: fix scrolling when select_mode == Append

This commit is contained in:
Maxime Coste 2011-09-28 19:21:49 +00:00
parent e619a81375
commit a30b7c1e9f

View File

@ -193,6 +193,7 @@ void Window::move_cursor(const WindowCoord& offset)
WindowCoord pos = line_and_column_at(sel.last()); WindowCoord pos = line_and_column_at(sel.last());
sel = Selection(sel.first(), iterator_at(pos + offset)); sel = Selection(sel.first(), iterator_at(pos + offset));
} }
scroll_to_keep_cursor_visible_ifn();
} }
} }