April 29, 2013
6:43 p.m.
On Apr 29, 2013, at 9:24 AM, Denis Kudriashov <dionisiydk@gmail.com> wrote:
Hello.
Do you think about generalizing Keymapping idea on any event combinations (not just keyboard)? So we can write code like
morph on: Mouse click ctrl do: [] morph on: $a click ctrl do: [] morph on: Mouse move shift + $b do: [] morph on: Gesture cicle shift + $x do: []
I like the idea but I would really like that we do not overload on:do:
I think with such approach we can remove all morph overrides like #mouseDown:, #mouseUp. And it will big cleanup of morphic code. You know how many equal methods we have for each kind of event (handlesMouseDown:, handleMouseDown:, mouseDown: , etc).
Best regards, Denis