advice2020 created an issue (geany/geany-plugins#1560)

Bookmarks / Markers

Looking for Lua scripts to perform the following actions
-Save all Bookmarks to a separate bookmarks.txt file
-Load all Bookmarks from that bookmarks.txt file
-Delete that file and bookmarks from that bookmarks.txt file

--------------------------------------------------

SAVE BOOKMARKS
-Would save Bookmarked lines into a new text file called something similar to 
`bookmarks.txt`
(User would be able to edit script to change name)

-This text file would get saved to a default location similar to 
`$HOME/.config/geany/bookmarks.txt`
(User would be able to edit script to change file location)

-When a files Bookmarked lines are saved, they would get saved to a line in 
this `bookmarks.txt` file
`1 path/filename1.ext=bookmark1,bookmark2,...,bookmarkN`
`2 path/filename2.ext=bookmark1,bookmark2,...,bookmarkN`

-I that path/filenames line already exists, the save action will automatically 
just overwrite the bookmarks.
Do not think I would put any dialogs to ask about this.
(If dialog is added, ideally there would be an easy way for user to comment 
dialog out if possible)

--------------------------------------------------

LOAD BOOKMARKS
-User would open a document that they previously saved Bookmarks in.
-Apply this script
-Script find the line containing that files path/filename+bookmarks
-Would recall all the Bookmarks in that file

--------------------------------------------------

DELETE BOOKMARKS SAVED WITHIN BOOKMARKS.TXT FILE
-This script would allow user to delete the line of text containing that files 
path/filename+bookmarks of the current file they are viewing.

--------------------------------------------------

Thank You

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1560
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/issues/[email protected]>

Reply via email to