[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [FR-devel] Binding special keys
From: |
Curt Hibbs |
Subject: |
RE: [FR-devel] Binding special keys |
Date: |
Mon, 29 Sep 2003 07:02:36 -0500 |
Michael Witrant wrote:
>
> Hello,
>
> I'm trying to change the behavior of ctrl+tab. In the current version,
> it moves to the next EditPane but it won't return to the first one when
> it reaches the end.
>
> I've successfully used the neighbor and make_current commands on
> EditPanes, but I can't find the correct key binding. Is it possible to
> bind an action to a special key like TAB or PAGEUP? What symbol should I
> use? Where can I find the list of bindable keys?
I can't answer your question, but perhaps I can point you in some directions
to investigate (you might have done some of these already).
First, use freeride's databus inspector (when you are running freeride) --
it in the tools menu. then inspect the databus subtree at "/system/ui/keys".
There you will find all of the current key bindings. As a simple experiment,
you could try adding a new node using "Tab", "TAB" or "tab", just to see if
one of them works.
You could also look at "freeride/plugins/rubyide_commands/key_manager.rb",
but you probably won't find much there as it mostly initializes key bindings
on the databus.
You could also debug a running instance of freeride stopping on one of the
commands that has a key binding that is not on one of the menus, then look
at the stack to see the control flow and inspect that code.
Good luck,
Curt