Page 1 of 2
wrong bookmark positions being saved after line deletion/insertion
Posted: 26.09.2023 15:30
by itsmyname
After the deletion/insertion points the bookmarks are shifted.
Re: wrong bookmark positions being saved after line deletion/insertion
Posted: 28.09.2023 09:15
by main Alexey
bookmarks are auto-shifted when deleting/adding lines above the marks. it is by design. it is feature.
how do other good editors do this?
Re: wrong bookmark positions being saved after line deletion/insertion
Posted: 28.09.2023 13:19
by itsmyname
are shifted/aren't shifted: the bookmark defined at line 70 will not "move" to the 68 when the lines 51 and 52 are deleted. It remains at line 70 pointing to a wrong line.
Re: wrong bookmark positions being saved after line deletion/insertion
Posted: 28.09.2023 16:31
by main Alexey
how do you 'delete lines'? command 'delete line(s)' [Ctrl+Y] ? deleting of selected block? plugin? other way?
i use command 'delete lines' and bookmark is shifted up.
Re: wrong bookmark positions being saved after line deletion/insertion
Posted: 28.09.2023 18:45
by itsmyname
Ctrl+Y (deletion) or Enter (insertion), Ctrl+S, Alt+F4, relaunch ...
(There are plugins loaded.)
Re: wrong bookmark positions being saved after line deletion/insertion
Posted: 28.09.2023 19:39
by main Alexey
1. do you reproduce this on _clean_ Cud?
2. if yes: can you run the Kazaam app (or similar) to make screen recording of what you do?
Re: wrong bookmark positions being saved after line deletion/insertion
Posted: 29.09.2023 13:56
by itsmyname
It can be reproduced with clean CudaText. Right after the line insertion/deletion the bookmarks are in the right position, but after Ctrl+S and Alt+F4 and relaunching CudaText the bookmarks are in the wrong (previous) position.
Re: wrong bookmark positions being saved after line deletion/insertion
Posted: 29.09.2023 14:01
by main Alexey
i cannot reproduce it. so I ask you to give 'steps' how to reproduce this.
e.g. my steps:
- run clean app
- open file with 10 lines
- place bookmarks on lines 6, 8
- close file
- restart Cud, reopen file
-> 2 bookmarks are OK for me (still on lines 6, 8)
Re: wrong bookmark positions being saved after line deletion/insertion
Posted: 29.09.2023 15:10
by itsmyname
I don't open/close the document. I use session.
Re: wrong bookmark positions being saved after line deletion/insertion
Posted: 29.09.2023 17:48
by main Alexey
and what are your 'steps'?