Page 2 of 3
Re: Bookmarks are updated wrongly after pasting lines
Posted: 06.04.2025 17:53
by main Alexey
Seems no simple way.
Re: Bookmarks are updated wrongly after pasting lines
Posted: 09.04.2025 22:28
by itsmyname
If I insert just one line, the bookmark position updates correctly, but if I insert multiple lines, the bookmark shifts one line higher. This happens with the beta version (one .exe file) and the instance I'm already using.
Re: Bookmarks are updated wrongly after pasting lines
Posted: 10.04.2025 12:40
by main Alexey
look how I tried to reproduce it.
i have text with 3 bookmarks.
i try to insert such blocks above bookmarks:
1. single-line block
[ddd]
2. single line with newline at end
[ddd
]
3. 3-lines block with ending newline
[ddd
ddd
ddd
]
4. 3-lines block without ending newline
[ddd
ddd
d]
I paste at line start. and not at line start too.
cannot see the bug! give me your exact 'steps', please.
Re: Bookmarks are updated wrongly after pasting lines
Posted: 10.04.2025 13:45
by main Alexey
I mean I need exact sample document text (of fragment before the bookmark), exact contents of clipboard before pasting, and exact caret position.
Re: Bookmarks are updated wrongly after pasting lines
Posted: 13.04.2025 10:42
by main Alexey
Re: Bookmarks are updated wrongly after pasting lines
Posted: 15.04.2025 15:05
by main Alexey
hey, user. I fixed that issue now. will be in the next update (seems 1.223.0.x), pls wait.
Re: Bookmarks are updated wrongly after pasting lines
Posted: 23.04.2025 08:58
by mix-7
Fixed for CudaText 1.223.5.0, linux-x86_64-qt6, fpc 3.2.3
Thanks!
But no fix in
https://cudatext.github.io/history.txt
Re: Bookmarks are updated wrongly after pasting lines
Posted: 23.04.2025 09:08
by main Alexey
that 'bookmarks shift' fix was 'almost mentioned' in this line:
- fix: few regressions in 1.222.3 in reworked TextInsert method
Re: Bookmarks are updated wrongly after pasting lines
Posted: 29.04.2025 11:18
by mix-7
Again the bookmark moved on 2 lines up for some reason
Recently updated to Cudatext 1.223.5.2, Linux-X86_64-QT6, FPC 3.2.3
Re: Bookmarks are updated wrongly after pasting lines
Posted: 29.04.2025 11:39
by main Alexey
please, write steps to repeat it.
can it be repeated on _clean_ Cud? (we had problem in Markdown_Editing plugin with bookmarks, solved it in plugin).