On Fri, 12 Sep 2008 13:32:30 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
On Fri, 12 Sep 2008 12:24:56 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Fri, 12 Sep 2008 10:53:28 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
On Thu, 11 Sep 2008 20:49:18 +1000, Ross McKay rosko@zeta.org.au wrote:
Nick Treleaven wrote:
You might want the Next/Previous word part editor commands: http://www.geany.org/manual/dev/index.html#keyboard-commands
Previous word part. Ctrl+/ Next word part. Ctrl+\
...
And making them configurable is a very good idea as the default keys ('/' and '') are almost unusable on for example a German keyboard. The Next command is ok, you need to press Ctrl-Alt Gr-ß, but for the Previous command you need to press Ctrl-Shift-7 but this raises a selection because of the shift key. Pretty uncomfortable.
Heh, not good combinations. On a UK keyboard the \ is on the left and / on the right, so counterintuitive - maybe they were set for use on a US keyboard.
Probably, it's not a big problem as long as they can be changed. I think I will change the code at the end of next week except you will do it before :).
With some more delay than planned, the configurable 'previous/next word part' keybindings finally landed in SVN.
The only problem is that the +Shift variant doesn't work once they have been changed. That means, by default Ctrl+/ jumps to the previous word start, Ctrl+Shift+/ jumps to the previous word start and starts a selection to the new position (same for next word start). If this keybinding was changed, let's say to Ctrl-4, Ctrl-Shift-4 doesn't do anything instead to jump to the previous word start with raising a selection is still bound to Ctrl-Shift-/. But this affects only users who actually change this keybinding.
If this is a big issue for people, we could add two additional keybindings for the case when Shift is pressed. But these would have to be changed as well. So there are even more configuration efforts necessary. Alternatively we could add some hacks to the code which allows the Shift key to these both particular keybindings.
I don't like both ways (the last one fewest :D).
Regards, Enrico