Jason Crain authored
When zoomed in in non-continuous mode, the caret cursor is sometimes not visible after moving it to the next or previous page with the up and down arrow keys. Call `ensure_rectangle_is_visible` when changing to the next page, not only when changing to the previous page. Adjust `rect` for the coordinate difference between the window and the view's scrolling position.
Showing with 23 additions and 0 deletions