Bookmarks are updated wrongly after pasting lines
Bookmarks are updated wrongly after pasting lines
Hello!
Inserting one or more lines above a bookmarked line pushes the bookmark down by one line.
Thanks!
Inserting one or more lines above a bookmarked line pushes the bookmark down by one line.
Thanks!
-
- Posts: 2540
- Joined: 25.08.2021 18:15
Re: Bookmarks are updated wrongly after pasting lines
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).
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
The requested info:
CudaText 1.223.0.0, win64-x86_64-win32, fpc 3.2.3
CudaText 1.223.0.0, win64-x86_64-win32, fpc 3.2.3
-
- Posts: 2540
- Joined: 25.08.2021 18:15
Re: Bookmarks are updated wrongly after pasting lines
Now it pushes the bookmark up by one line. Moving the selected lines also incorrectly modifies the positions of the bookmarks.
-
- Posts: 2540
- Joined: 25.08.2021 18:15
Re: Bookmarks are updated wrongly after pasting lines
Pls show steps you do. what block do you insert? where?
e.g. if I copy 3 lines
e.g. if I copy 3 lines
with or without final line break, and paste them at line start, bookmarks are shifted ok for me.11
22
33
-
- Posts: 2540
- Joined: 25.08.2021 18:15
Re: Bookmarks are updated wrongly after pasting lines
>Moving the selected lines also incorrectly modifies
Again, how do you 'move', what command? Show your steps to edit.
Again, how do you 'move', what command? Show your steps to edit.
Re: Bookmarks are updated wrongly after pasting lines
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.
-
- Posts: 2540
- Joined: 25.08.2021 18:15
Re: Bookmarks are updated wrongly after pasting lines
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
Is there any simple way (by searching in source files) to find out which addons might cause line/bookmark synchronization problems?