Re: textadept on mac: cannot switching input source

From: Vyacheslav Egorov <v.e.ego....at.gmail.com>
Date: Fri, 17 Jul 2009 20:25:14 +0700

Hi,

> So if you go into core/ext/keys.lua and uncomment the 'print'
> statement in the 'keypress' function and press cmd+space, the code is
> printed? If not, ta is not receiving the event.

Yeah, it receives the event (I used print(key_seq) to confirm that)

> I don't see why GTK-OSX would consume this. My only explanation would
> be the window manager. (e.g. to run spotlight or something)

The same shortcut works just fine everywhere else (I am using
ctrl-space to reach spotlight)

--
e.v.e
On Fri, Jul 17, 2009 at 8:20 PM, mitchell<mforal.n....at.gmail.com> wrote:
>
> Hi,
>
>> TextAdept receives cmd+space keypress event.
>
> So if you go into core/ext/keys.lua and uncomment the 'print'
> statement in the 'keypress' function and press cmd+space, the code is
> printed? If not, ta is not receiving the event.
>
>> I am not familiar with Mac OS X event model, but I think that keypress
>> triggers global event shortcut only when it was not consumed
>> "locally". So my hypothesis is that cmd+space (and other shortcuts)
>> are consumed somewhere inside TextAdept/Scintilla or GTK-OSX Framework
>> itself.
>
> I don't see why GTK-OSX would consume this. My only explanation would
> be the window manager. (e.g. to run spotlight or something)
>
> -Mitchell;
> >
>
Received on Fri 17 Jul 2009 - 09:25:14 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:38:26 EST