I've been using Geany for years and never knew this feature exists. I saw it mentioned in a comment, but didn't find it. I did find "Send Selection to Terminal", but it was grayed out. So I thought maybe that was what I was looking for, but couldn't use it for whatever reason. (I thought this might be like the plugins that no longer compile.) So I forgot about it. Then I saw this feature mentioned someplace else in a different context. So I went searching again, and still didn't find it. So I asked the internet, and finally found out where it is.
Two levels of nested menus seems like a bit too much. So this PR is to make the "Send Selection to" feature easier to find and use. It's renamed to "Send Selection" and moved from Edit/Format to Edit menu. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2899
-- Commit Summary --
* Move "Send Selection to" from Edit/Format to Edit
-- File Changes --
M data/geany.glade (36)
-- Patch Links --
https://github.com/geany/geany/pull/2899.patch https://github.com/geany/geany/pull/2899.diff
I've been using Geany for years and never knew this feature exists.
In the nicest possible way :grin: ... [RTFineM](https://www.geany.org/manual/current/index.html#sending-text-through-custom-...).
Its below "Format" because the basic base use-case is formatting the selection as the Fine Manual says, passing a selection in and pasting the results in its place.
Even if the PR is accepted the manual needs to be updated to agree.
Which version of Glade did you use to make the changes?
@xiota pushed 1 commit.
bfe0279bf9f203bbf72cc7b183a3f059e5eecd45 Update manual
The manual is where the internet searches eventually led. It's still a pain to have to go through nested menus to access the feature. Even though there are auto assigned shortcuts, users would still have to go through the menu to remind themselves of infrequently used commands.
I used Geany itself to edit the file because I didn't want Glade to mess with other portions of the file. I've updated the manual.
The problem with hand editing the file is that Glade is very picky and this might make the next change made with Glade have irrelevant changes as it adjusts your hand edits. Perhaps wait until after #2860 and then you can use a modern Glade instead of having to hand edit or compile Glade 3.8.5.
As for moving the menu, we don't want the top level menus getting too large, that prevents use on some small screen systems. But `Edit` isn't the longest menu, so I personally don't care if one more top level is added, but depends on what others think.
You will also have to sort out the mnemonics, `s` is already used in the top level edit menu.
I'm not in a hurry, since I already have it running this way on my machine. I just submitted the PR because nested menus aren't great for features users might actually want to use. They're fine for things like filetype and encoding that are supposed to be autodetected.
For the mnemonics, is preferences 'S' for settings? Is it so frequently accessed that it needs a mnemonic? I'm looking at other programs, and they each seem to use a different letter.
All menu items need a mnemonic, its how you drive it without a mouse.
@xiota pushed 1 commit.
bb9ae8ca529e68db93bb3fa3f2986efceef70700 Change mnemonic for 'Send Selection'
@xiota pushed 1 commit.
0a04a5c692ed31a5b874288139a60b0f836cd389 Change mnemonic for 'Send Selection'
Closed #2899.
github-comments@lists.geany.org