I was trying to come up with a way to have (two) static keyword find tools in Geany that can be linked to hotkeys.
1.) "Next" - One tool would find/navigate to/select the next instance of that static keyword
2.) "Previous" - The other tool would find/navigate to/select the previous instance of that static keyword
-They would be based on where the cursor/caret is in the document (which line they are in)
-If there are no other instances of that keyword found below (or above if using "Previous" tool) then the highlight would just stay in that line and not advance any more to any other lines.
-No dialogs would show up.
If this cannot be done specifically within Geany itself, I am trying to have any custom tools be Lua based if possible.
In searching the GeanyLua plugin documentation I came across geany.find
which appears to be able to achieve what I am looking to achieve. I was wondering if anyone would be interested in creating something like this in a Lua script?
DESIRED TOOL USE
These two tools can obviously be used for any static words but one of the main uses I am looking for are tools to achieve the following.
If I add a "separator/divider" line made out of keyboard symbols to a document such as
###################################
I would like to be able to find the next/previous instances of them.
I like some of the Find tools already provided by Geany but you cannot setup a static keyword search. If you try find tool and type in "####" it will literally find each instance of this so it finds "####" multiple times in each divider line, so that will not work.
Thank You
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.