[Geany] tab, the triangle clicky widgets bug, and Ctrl-PgUp / Ctrl-PgDn

Enrico Tröger enrico.troeger at xxxxx
Mon Jul 16 17:09:22 UTC 2007


On Thu, 12 Jul 2007 10:39:17 -0400, "John Gabriele" <jmg3000 at gmail.com>
wrote:

> On 7/12/07, Enrico Tröger <enrico.troeger at uvena.de> wrote:
> > On Thu, 12 Jul 2007 13:26:23 +0100, Nick Treleaven
> > <nick.treleaven at 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

-- 
Get my GPG key from http://www.uvena.de/pub.key
Powered by Debian GNU/Linux, GnuPG and Sylpheed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20070716/f92e4a55/attachment.pgp>


More information about the Users mailing list