The cursor column can be after the last_visible_char index and still be visible.
(cherry picked from commit 55cdaebdf9)
The cursor column can be after the last_visible_char index and still be visible.
(cherry picked from commit 55cdaebdf9)