@Skif_off
Most of my requests for this program unfortunately cannot be solved with Lua, 
but if interested, this is the only one I have left that might be?  I am not 
sure though.

Would Lua in this case be able to know the language/file type of the currently 
opened document, in order to know which divider to use?

I / the user would just need a small “template” for how to type in the file 
type / desired divider.

If something like this could actually be achieved with Lua/GeanyLua plugin, I 
imagine they would be "if" statements
something like

if "txt"
use
######################################

if "xml"
use
<!--#################################-->

if "lua"
use
--#####################################

Then user would just assign a single keybinding to the Lua script and it would 
generate a divider based on the file type template/list from the Lua script.
As mentioned not sure though, this might be something that would require Geany 
plugin specifically for something like this?

If interested let me know.
Thank you again for all your help :)

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

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

Reply via email to