@techee 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;
I don't see what the problem is in this case - this is what happens when I invoke it on `i` and move the window to the right so the popup appears on the left:
<img width="482" alt="Screenshot 2023-10-10 at 12 30 03" src="https://github.com/geany/geany/assets/713965/c99ec979-a4a9-4ca4-b514-2c60d5aff7f5">
The underline cursor of the insert mode disappears when the popup shows.