[Pharo-users] Browsing shortucts

Thierry Goubier thierry.goubier at gmail.com
Tue Jan 5 09:03:10 EST 2016


2016-01-05 14:42 GMT+01:00 David Allouche <david at allouche.net>:

> Strangely, I am not able get any response from Ctrl-TAB, which is
> essential to tab out of a text widget.
>
> Looking with the inspector, it looks like it SHOULD do what I need, but it
> appears that the keyboard event does not get there.
>
> How can I get a transcript output for every detected keyboard event? I
> suspect that maybe something system-wide in MacOS is intercepting the event.
>

At high level, do

KMLog setDebug

(and get a transcript open)

to stop it, do

KMLog removeDebug.

(This will give you Keymapping behavior, but remember that: any app can add
a key processing on a morph instance manually, and that many morphs have
hardwired shortcuts such as navigation keys)

At a lower level, you can trace or add a watchpoint inside:

HandMorph>>#generateKeyboardEvent:

Use that if you don't see your ctrl+tab at the Keymapping level.

Thierry


>
>
> On 5 Jan 2016, at 14:35, Dimitris Chloupis <kilon.alios at gmail.com> wrote:
>
> nope thats only the shortcuts of nautilus , a tiny fraction
>
> so what I did was the following
>
> Open playground and inspect
>
> KMKeymap allInstances .
>
> and it returns me
>
> 538
>
> now unless those are duplicates as well, which i doubt from the looks of
> it it that means we have 6 shortcuts more than emacs, so pharo has more
> shortcuts than emacs
>
>
> http://superuser.com/questions/768540/how-many-keyboard-shortcuts-are-in-emacs
>
> ah the irony is too strong in this one
>
> Please correct me if i am wrong because this is huge news for me :D
>
>
> On Tue, Jan 5, 2016 at 3:22 PM Sven Van Caekenberghe <sven at stfx.eu> wrote:
>
>> World Menu > System > Keymap Browser ?
>>
>> > On 05 Jan 2016, at 14:16, Dimitris Chloupis <kilon.alios at gmail.com>
>> wrote:
>> >
>> > Hey guys I remember a way to open the inspector for browsing all
>> available keyboard shortcuts in pharo but I cannot find it via google,
>> anyone remembers the way to do this ?
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20160105/db913248/attachment.html>


More information about the Pharo-users mailing list