: 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
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
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
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
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
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
...@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