Add filetype submenus for new file with template menus (#3397)
commit8a9e9be88545f83c91d378d6662790efa38959d4
authorNick Treleaven <ntrel002@gmail.com>
Thu, 9 Mar 2023 16:24:37 +0000 (9 16:24 +0000)
committerGitHub <noreply@github.com>
Thu, 9 Mar 2023 16:24:37 +0000 (9 16:24 +0000)
treee1e3642458afdc7746cbcd50b58a4b394324d9d2
parentafec6557e0f453a38b2976069de3763b8e1d09d1
Add filetype submenus for new file with template menus  (#3397)

* Put items with submenus at the top of the menu

* Add filetype submenus for new file template menus

Add submenus when there's more than one template per filetype.

* Remove redundant checks for null ft

* Update docs
doc/geany.txt
src/filetypes.c
src/templates.c
src/ui_utils.c
src/ui_utils.h