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

Not that important, but I was wondering if you knew if any of the following 
actions would be possible using GeanyLua.

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

1.) STATIC KEYWORD SEARCH - BASED ON TOOLBAR SEARCH FIELD
(I looked into GeanyLua documentation and did not see any mention of this 
toolbar so probably not accessible in this way)
Geany offers a Toolbar based Search Field
Can a script be created that would allow a static keyword (specified within the 
Lua script) to be automatically entered into this toolbar Search Field
Example:
-Lua script is designed to search for the static keyword "apple"
-When script is applied, the keyword "apple" is added into the toolbar Search 
field
-Search field is automatically applied, finding the first instance of that 
keyword "apple" if it exists

The idea is that this could then make use of next/previous keybindings rather 
then requiring separate script for next and previous searches.

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

2.) STATIC KEYWORD SEARCH - BASED ON MARK BASED TOOLS
Maybe this could be based off of one of the following
`Mark All` keybinding
`Find` tool dialogs `Mark` button
`Addons` plugin - Double click setting
which all apply a "Mark" (highlight to keyword found)

Could a GeanyLua script take all the instances of a static keyword search 
results 
and then automatically "Mark" all of them within current document?

If this is possible then user could use the `Next Selection` and `Previous 
Selection` keybindings

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

Thank you to anyone who reads this

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

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

Reply via email to