[hotkey] when scanning through search hits, move to the last hits

This commit is contained in:
Timothy Stack 2016-12-17 21:43:26 -08:00
parent 854c79108e
commit a69d4c37a4

View File

@ -943,6 +943,9 @@ bool moveto_cluster(vis_line_t(bookmark_vector<vis_line_t>::*f) (vis_line_t),
vis_line_t new_top;
new_top = next_cluster(f, bt, top);
if (new_top == -1) {
new_top = next_cluster(f, bt, tc->get_top());
}
if (new_top != -1) {
tc->set_top(new_top);
return true;