[BUG] PluggableTextMorph event handling

rrobbes rrobbes at info.unicaen.fr
Sun Mar 21 11:37:10 UTC 2004


Hi all, 

PluggableTextMorphs don't play well with EventHandlers :
I am trying to implement a kind of command line, and was puzzled
as event handling stopped working after losing and regaining the focus : 

The reason is that the PTM has an embedded TextMorph, so when you click on
it the (non pluggable) TextMorph gets the focus, so event handlers
passed to the PTM are bypassed. 

So would it make sense to forward #on:send:to: on the PTM directly to the
embedded TextMorph's event handler to make this buggy behavior disappear ? 

   Romain



More information about the Squeak-dev mailing list