@b4n commented on this pull request.
- if (sci_get_line_from_position(sci, pos_next) == line)
+ char_width = SSM(sci, SCI_POINTXFROMPOSITION, 0, pos_next) - x;
With `char_width=1` (and none of the extra tests), I get this:  Caret is on the last `e` (if in block mode, it is over it, in beam mode right before).