wrong bookmark positions being saved after line deletion/insertion
wrong bookmark positions being saved after line deletion/insertion
After the deletion/insertion points the bookmarks are shifted.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: wrong bookmark positions being saved after line deletion/insertion
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?
how do other good editors do this?
Re: wrong bookmark positions being saved after line deletion/insertion
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.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: wrong bookmark positions being saved after line deletion/insertion
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.
i use command 'delete lines' and bookmark is shifted up.
Re: wrong bookmark positions being saved after line deletion/insertion
Ctrl+Y (deletion) or Enter (insertion), Ctrl+S, Alt+F4, relaunch ...
(There are plugins loaded.)
(There are plugins loaded.)
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: wrong bookmark positions being saved after line deletion/insertion
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?
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
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.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: wrong bookmark positions being saved after line deletion/insertion
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)
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
I don't open/close the document. I use session.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: wrong bookmark positions being saved after line deletion/insertion
and what are your 'steps'?