And you return true, if you handled the request? On 13 July 2011 11:18, Tudor Girba <tudor@tudorgirba.com> wrote:
On 13 Jul 2011, at 11:08, Lukas Renggli wrote:
This is what I am doing right now and it does not work:  (PluggableTextMorph on: textModel ...)        onKeyStrokeSend: #keystroke:from: to: textModel         ...
You have to attach your handler on the text morph itself, not on the pluggable morph which is just a wrapper.
This is just a helper method in PluggableTextMorph that does what you propose:
PluggableTextMorph>>onKeyStrokeSend: sel to: recipient     textMorph on: #keyStroke send: sel to: recipient.
But this still does not seem to work.
Cheers, Doru
Lukas
-- Lukas Renggli www.lukas-renggli.ch
-- www.tudorgirba.com
"Speaking louder won't make the point worthier."
-- Lukas Renggli www.lukas-renggli.ch