@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: ![offset-gotopopup](https://github.com/geany/geany/assets/793526/3ca422c3-9203-476f-9c69-a7ee74c...) Caret is on the last `e` (if in block mode, it is over it, in beam mode right before).