Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Benjamin
Then maybe Komitter should use this mechanism instead of registering to World. But I am not sure if letting the possibilities to someone to override it locally is bad or not Ben On 12 Dec 2013, at 11:50, Guillermo Polito wrote: > Yes regarding the bindKeymapping:toAction: > > https://ci.inria

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Benjamin
https://github.com/DamienCassou/pier-cl/blob/master/CheatSheet.pier.md +caption>file://figures/image.png+ Ben On 12 Dec 2013, at 11:50, Guillermo Polito wrote: > Yes regarding the bindKeymapping:toAction: > > https://ci.inria.fr/pharo-contribution/job/PharoForTheEnterprise/lastSuccessfulBuild

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Guillermo Polito
Yes regarding the bindKeymapping:toAction: https://ci.inria.fr/pharo-contribution/job/PharoForTheEnterprise/lastSuccessfulBuild/artifact/KeyMapping/KeyMapping.pier.html - the bubbling explanation needs more love - the global categories are not yet there How do I add figures with the pier sintax?

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Stéphane Ducasse
guille is the keymapping chapter up to date to that regards. It would be good to explain better the bubble and the global binding. If you have one hour it would be good. Stef On Dec 12, 2013, at 11:11 AM, Guillermo Polito wrote: > The world morph was initially intended to handle the global sy

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Guillermo Polito
The world morph was initially intended to handle the global system shortcuts, taking advantage of the event bubbling. However, that posed the fact that the global shortcuts have less priority than other shortcuts. The bubbling will activate a global shortcut only if it they key event did not activa

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Guillermo Polito
Ahh a little detail! We are deprecating the usage of #on:do: for shortcuts so they are not mistaken with exception handling, nor announcement registration :). The right snippet would be World bindKeyCombination: $a shift command toAction: [ Object browse ]. Actually, if you see t

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Nicolas Cellier
BTW, no world binding has yet been initialized yet in Pharo 3.0 (but CMD+K) Is it intentional? see http://stackoverflow.com/questions/17886061/switch-between-open-windows-in-pharo 2013/12/12 p...@highoctane.be > Very sweet indeed. > > Phil > > > > On Thu, Dec 12, 2013 at 9:42 AM, Max Leske wro

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread p...@highoctane.be
Very sweet indeed. Phil On Thu, Dec 12, 2013 at 9:42 AM, Max Leske wrote: > Nice! Didn’t know about that one. > > > On 12.12.2013, at 09:35, Torsten Bergmann wrote: > > > > --- > > [Pharo Trick: #0004] - Run code

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Stéphane Ducasse
I want more :) On Dec 12, 2013, at 9:42 AM, Max Leske wrote: > Nice! Didn’t know about that one. > > > On 12.12.2013, at 09:35, Torsten Bergmann wrote: > >> --- >> [Pharo Trick: #0004] - Run code using a key comm

Re: [Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Max Leske
Nice! Didn’t know about that one. On 12.12.2013, at 09:35, Torsten Bergmann wrote: > --- > [Pharo Trick: #0004] - Run code using a key command to speedup development > ---

[Pharo-dev] [Pharo Trick: #0004] - Run code using a key command to speedup development

2013-12-12 Thread Torsten Bergmann
--- [Pharo Trick: #0004] - Run code using a key command to speedup development --- Works in: Pharo3.0 Latest update: #30637 but should work