dolik-rce created an issue (geany/geany#4373)

### Steps to reproduce:

1. Turn on "Drop rest of word on completion" in autocompletion settings
2. Place a cursor in a middle of some word in some existing file
3. Trigger completion list using Ctrl + Space
4. Hit Enter the select some word from the list
5. The word is placed so that it ends at the cursor, jumbling text before the 
current word

### Simple demonstration:

![Image](https://github.com/user-attachments/assets/7e3994c6-36ea-412a-a446-e0bc722daf13)

### Additional info

- It seems that the word is inserted so that it ends at cursors position, 
instead of being aligned with the word start.
- I'm currently using version 2.1, but it was already broken some time ago. I 
*think* this was working fine in version 1.38 or possibly even later,  but 
can't really pinpoint it more exactly, sorry.
- It works as expected when "Drop rest of the word on completion" option is 
turned off.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4373
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/4...@github.com>

Reply via email to