Bookmarks not saved
Bookmarks not saved
Hello!
Bookmarks can be created and used (jump), but after exiting from the app they are not saved in the "history files.json" file and therefore not reloaded.
Bookmarks can be created and used (jump), but after exiting from the app they are not saved in the "history files.json" file and therefore not reloaded.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Bookmarks not saved
bookmarks must be saved to 'history file.json' to special key. e.g. this is marks for my user.json:
try with clean CudaText. open 1 file, make 1-3 bookmarks, and exit. what is your 'history files.json'?
then try again with working config.
find user.json options which break the work.
Code: Select all
"bookmarks" : {
"~|.config|cudatext|settings|user.json" : "2,1 3,1"
}
then try again with working config.
find user.json options which break the work.
Re: Bookmarks not saved
With clean CudaText: the "bookmarks" key is not created, only the filenames' keys.
Code: Select all
"D:|Downloads|cudatext|settings|history session.json" : {
"lexer" : "JSON",
"enc" : "UTF-8",
"tab_size" : 2,
"tab_spaces" : true,
"crt" : "0,0,-1,-1,"
},
"D:|Downloads|cudatext|settings|user.json" : {
"lexer" : "JSON",
"enc" : "UTF-8",
"tab_size" : 2,
"tab_spaces" : true,
"crt" : "0,1,-1,-1,"
}
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Bookmarks not saved
how did you place bookmarks?
I do this: click the editor's gutter (vertical band on the left), line becomes greenish (default theme) .
I do this: click the editor's gutter (vertical band on the left), line becomes greenish (default theme) .
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Bookmarks not saved
another question: did you CLOSE the document before exiting Cud?
I see that if I don't close document, bookmarks are not saved. will see it.
I see that if I don't close document, bookmarks are not saved. will see it.
Re: Bookmarks not saved
I placed the bookmarks via menu and a defined key. I didn't close the document.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Bookmarks not saved
confirmed the bug. I fixed it now, seems. wait for update, or compile from source.
Re: Bookmarks not saved
In CudaText 1.198.2.0, linux-x86_64-gtk2, fpc 3.2.3, bookmarks are not deleted unless the tab is closed.
It's probably the same bug.
It's probably the same bug.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Bookmarks not saved
the same bug. so it was fixed too.
bug was: w/o closing tab, bookmarks state was not saved.
bug was: w/o closing tab, bookmarks state was not saved.