1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-23 15:23:29 +03:00

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());
sel = Selection(sel.first(), iterator_at(pos + offset));
}
scroll_to_keep_cursor_visible_ifn();
}
}