[Geany-devel] editor current word menu (was Re: SF.net SVN: geany:[2787] trunk)

Nick Treleaven nick.treleaven at xxxxx
Mon Jul 21 11:53:04 UTC 2008


On Sun, 20 Jul 2008 23:24:01 +0200
Enrico Tröger <enrico.troeger at uvena.de> wrote:

> On Thu, 17 Jul 2008 17:18:05 +0000, ntrel at users.sourceforge.net wrote:
> 
> > Revision: 2787
> >           http://geany.svn.sourceforge.net/geany/?rev=2787&view=rev
> > Author:   ntrel
> > Date:     2008-07-17 17:17:51 +0000 (Thu, 17 Jul 2008)
> > 
> > Log Message:
> > -----------
> > Move editor popup menu current word items to submenu.
> 
> This was a nice idea but after using it for two days it comes very
> unhandy, IMO.
> I use especially Goto Definition and Find usage very often as it's
> just convenient but with the new submenu they got hard to reach.
> 
> Can anyone confirm this?

Personally I just use keybindings. I thought it was good to group all
the current word items together to make it clearer what they do, and
to make the menu tidier. Also a small thing - it makes it much easier to
avoid mnemonic conflicts.

Another thing I had in mind when doing this, is that often users don't
realise there are keybindings for things that have no menu item. So
having sub-menus for the popup menu means we can add many more menu
items, and users can easily discover that there are more commands
Geany supports.

e.g. There's a feature request for a 'Go to matching bracket' menu.
This could be:
Go to
->Line
->Matching Bracket
->Tag Definition?
->Tag Declaration?

> OTOH,  I agree it's good to shorten this menu a little bit or at least
> to not bloat it more.
> Maybe we could remove or move the "Insert [Date|Comments|Includes]"
> menu items into the Format submenu.

Well, insertion is not really formatting IMO.

Regards,
Nick



More information about the Devel mailing list