jed-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: How to discover prefix keysequences?


Marko Mahnic <marko.mahnic@xxxxxxxx> wrote:
>I would like to implement Alt-key handling (for keys A..Z)
>in FL-Jed in the following way:
>    1. If Alt-<char> is bound to anything, pass "\e<char>" to JED
>    2. If Alt-<char> is a prefix of a keysequence, pass "\e<char>" to JED
>    3. Let FLTK handle Alt-XX

The path that I would pursue would be to create an FLTK-specific
function that processes the Alt-XX keys and binds it to "\e<char>".
Then if the user rebinds, e.g., "\eA" to foo, foo will get called.  If
"\eA" is not rebound, your FLTK-specific function will get called.

--John

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]