On Thu, 12 Jul 2007 10:39:17 -0400, "John Gabriele" jmg3000@gmail.com wrote:
On 7/12/07, Enrico Tröger enrico.troeger@uvena.de wrote:
On Thu, 12 Jul 2007 13:26:23 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
On 07/11/2007 06:52:40 PM, Enrico Tröger wrote:
Alt-[1-0] are defined by Geany and can't be changed. Alt-[1-9] switches to the 9 left tabs according to the typed number and Alt-0 switches to the most right tab. While writing this, an idea comes to my mind: perhaps this could be inverted (tabs 1-9 from left to right, and most right tab to most left tab) according to the "Placement of new file tabs" option. Nick, what do you think?
Sounds good. I think someone requested that behaviour when I first added it, and I implemented it but without adding a preference(!) See the swap_alt_tab_order variable in keybindings.c.
Oops, it seems I overlooked this variable at all ;-). I think we don't need to add an additional preference for it, just use it.
Enrico, I'm sorry, but I'm not understanding you. Could you please explain what you meant by "perhaps this could be inverted (tabs 1-9 from left to right, and most right tab to most left tab) according to the 'Placement of new file tabs' option."?
I guessed it could be hard to understand for others because it was hard to me to express it ;-). I try again: Currently, pressing Alt-1 switches to the most left document. Alt-1 to the document right of the most left one and so on. Alt-0 switches to the most right document.
You know about "Placement of new file tabs" option? It defines whether new file tabs are placed on the left or right edge of the notebook.
The idea was to change the behaviour of the Alt-number shortcuts according to the setting of "Placement of new file tabs".
That is, when using - "Placement of new file tabs" -> Right Alt-1 switches to the most left(first opened) document Alt-2 switches to the right of the most left(second opened) document ... Alt-0 switches to the most right(last opened) document - "Placement of new file tabs" -> Left Alt-1 switches to the most right(first opened) document Alt-2 switches to the left of the most right(second opened) document ... Alt-0 switches to the most left(last opened) document
The code was already written by Nick and just has to be enabled. I would suggest to just enable it without adding a preference or at least without adding a GUI preference for it.
Regards, Enrico