Page 1 of 3

Bookmarks are updated wrongly after pasting lines

Posted: 05.04.2025 20:35
by itsmyname
Hello!
Inserting one or more lines above a bookmarked line pushes the bookmark down by one line.
Thanks!

Re: Bookmarks are updated wrongly after pasting lines

Posted: 05.04.2025 21:26
by main Alexey
Confirmed, it's a regression in 1.222.3 (rework of TextInsert).

EDIT: I fixed it, it seems. but if you want to test my fix, tell me your 'about info' from About box (use 'Copy' button).

Re: Bookmarks are updated wrongly after pasting lines

Posted: 05.04.2025 22:49
by itsmyname
The requested info:
CudaText 1.223.0.0, win64-x86_64-win32, fpc 3.2.3

Re: Bookmarks are updated wrongly after pasting lines

Posted: 05.04.2025 23:21
by main Alexey

Re: Bookmarks are updated wrongly after pasting lines

Posted: 06.04.2025 09:57
by itsmyname
Now it pushes the bookmark up by one line. Moving the selected lines also incorrectly modifies the positions of the bookmarks.

Re: Bookmarks are updated wrongly after pasting lines

Posted: 06.04.2025 10:05
by main Alexey
Pls show steps you do. what block do you insert? where?
e.g. if I copy 3 lines
11
22
33
with or without final line break, and paste them at line start, bookmarks are shifted ok for me.

Re: Bookmarks are updated wrongly after pasting lines

Posted: 06.04.2025 10:08
by main Alexey
>Moving the selected lines also incorrectly modifies

Again, how do you 'move', what command? Show your steps to edit.

Re: Bookmarks are updated wrongly after pasting lines

Posted: 06.04.2025 13:44
by itsmyname
It seems that the issue during insertion is caused by a plugin, since it works correctly in the clean beta instance. The video shows line movement in the clean beta instance.

Re: Bookmarks are updated wrongly after pasting lines

Posted: 06.04.2025 14:19
by main Alexey
Can you find what plugin is it? do I need special config file of that plugin (in 'settings' folder)?

Re: Bookmarks are updated wrongly after pasting lines

Posted: 06.04.2025 16:51
by itsmyname
Is there any simple way (by searching in source files) to find out which addons might cause line/bookmark synchronization problems?