Window: fix scrolling when select_mode == Append
This commit is contained in:
parent
e619a81375
commit
a30b7c1e9f
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user