Bookmarks are updated wrongly after pasting lines

Did you find any problems using this software? Please post here...
itsmyname
Posts: 17
Joined: 15.09.2023 13:34

Bookmarks are updated wrongly after pasting lines

Post by itsmyname »

Hello!
Inserting one or more lines above a bookmarked line pushes the bookmark down by one line.
Thanks!
main Alexey
Posts: 2541
Joined: 25.08.2021 18:15

Re: Bookmarks are updated wrongly after pasting lines

Post 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).
itsmyname
Posts: 17
Joined: 15.09.2023 13:34

Re: Bookmarks are updated wrongly after pasting lines

Post by itsmyname »

The requested info:
CudaText 1.223.0.0, win64-x86_64-win32, fpc 3.2.3
itsmyname
Posts: 17
Joined: 15.09.2023 13:34

Re: Bookmarks are updated wrongly after pasting lines

Post by itsmyname »

Now it pushes the bookmark up by one line. Moving the selected lines also incorrectly modifies the positions of the bookmarks.
main Alexey
Posts: 2541
Joined: 25.08.2021 18:15

Re: Bookmarks are updated wrongly after pasting lines

Post 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.
main Alexey
Posts: 2541
Joined: 25.08.2021 18:15

Re: Bookmarks are updated wrongly after pasting lines

Post by main Alexey »

>Moving the selected lines also incorrectly modifies

Again, how do you 'move', what command? Show your steps to edit.
itsmyname
Posts: 17
Joined: 15.09.2023 13:34

Re: Bookmarks are updated wrongly after pasting lines

Post 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.
main Alexey
Posts: 2541
Joined: 25.08.2021 18:15

Re: Bookmarks are updated wrongly after pasting lines

Post by main Alexey »

Can you find what plugin is it? do I need special config file of that plugin (in 'settings' folder)?
itsmyname
Posts: 17
Joined: 15.09.2023 13:34

Re: Bookmarks are updated wrongly after pasting lines

Post by itsmyname »

Is there any simple way (by searching in source files) to find out which addons might cause line/bookmark synchronization problems?
Post Reply