advice2020 left a comment (geany/geany-plugins#1478) `POSSIBLE UPDATE 1` (If this is too complex to achieve then original script works fine)
`Script Run On Entire Document` This script was not designed for this but tried running with no selection in a document with many lines. Adds "PREFIX " and " SUFFIX" to every line in document :) I later, was trying to think of what else could be linked to this action instead that maybe could provide different functionality. If you put caret anywhere in a word before opening the "Find" dialog, it will put that word in "Search for" field, so caret location can detect word. I was wondering would it be possible for the script to be able to just apply the prefix / suffix to just the single word that the caret is currently in? For example if caret was in the word "orange"... Beginning = `|`orange Anywhere in middle = ora`|`nge End = orange`|` then when script is applied (when no selection is present) then "orange" would get prefix / suffix added `PREFIX orange SUFFIX` --------------------------------------------------------------------------------------------- Also thank you for that link, I was not aware of that script. Believe it or not that one little link suggestion lead to so many discoveries, questions, ideas, requests and other posts for a few different programs :) That script brings you to `~/.config/geany/plugins/geanylua/` At first I could not understand why it did not bring me into my scripts folder `~/.config/geany/plugins/geanylua/scripts/` I totally forgot I actually created that folder. Explains that strange "scripts" flyout I was experiencing :) I think I did this when I first got into this plugin to separate the scripts from the `hotkeys.cfg` file. That or I must of had a mpv flashback :) Thank you again -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/1478#issuecomment-3105189942 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany-plugins/issues/1478/[email protected]>
