Re: [Pharo-dev] on:do: for shortcuts?

2013-06-19 Thread Stéphane Ducasse
: mardi 18 juin 2013 18:14 À : Pharo Development List Objet : Re: [Pharo-dev] on:do: for shortcuts? 2013/6/18 Clément Bera bera.clem...@gmail.com On Javascript, there are : onkeypress onkeydown onkeyup I think we should have same API than other languages, especially popular

Re: [Pharo-dev] on:do: for shortcuts?

2013-06-19 Thread Benjamin
De : Pharo-dev [pharo-dev-boun...@lists.pharo.org] de la part de Esteban A. Maringolo [emaring...@gmail.com] Date d'envoi : mardi 18 juin 2013 18:14 À : Pharo Development List Objet : Re: [Pharo-dev] on:do: for shortcuts? 2013/6/18 Clément Bera bera.clem

Re: [Pharo-dev] on:do: for shortcuts?

2013-06-18 Thread Igor Stasenko
On 18 June 2013 15:59, Stéphane Ducasse stephane.duca...@inria.fr wrote: Hi guillermo I thought that we decided to change and not use on: do: for shortCuts (I'm happy that we change because for me it took me a while to understand that the key was not an exception. Could we

Re: [Pharo-dev] on:do: for shortcuts?

2013-06-18 Thread Goubier Thierry
Additionally, this is processing on a shortcut, that is possibly on a sequence of keys... So, onKey:do: isn't very good. The replacement of asShortcut by asKeyCombination in 3.0 wasn't too good, either. But, to be coherent, it should certainly be: onKeyCombination:do: Thierry Le

Re: [Pharo-dev] on:do: for shortcuts?

2013-06-18 Thread Clément Bera
On Javascript, there are : - onkeypress - onkeydown - onkeyup I think we should have same API than other languages, especially popular ones. So 1 of these 3 would be the best for me. Why not onKeyPress:do: ? 2013/6/18 Goubier Thierry thierry.goub...@cea.fr Additionally, this is

Re: [Pharo-dev] on:do: for shortcuts?

2013-06-18 Thread Esteban A. Maringolo
2013/6/18 Clément Bera bera.clem...@gmail.com On Javascript, there are : onkeypress onkeydown onkeyup I think we should have same API than other languages, especially popular ones. So 1 of these 3 would be the best for me. Why not onKeyPress:do: ? +1 to each of the last two

Re: [Pharo-dev] on:do: for shortcuts?

2013-06-18 Thread Guillermo Polito
...@lists.pharo.org] de la part de Esteban A. Maringolo [emaring...@gmail.com] Date d'envoi : mardi 18 juin 2013 18:14 À : Pharo Development List Objet : Re: [Pharo-dev] on:do: for shortcuts? 2013/6/18 Clément Bera bera.clem...@gmail.com On Javascript, there are : onkeypress