PluggalbeTextMorph eats cr
Ken G. Brown
kbrown at tnc.com
Fri Sep 21 21:02:04 UTC 2001
I have the following working nicely, send the stuff I type out the serial
port:
controlPane _ PluggableTextMorph
on: self
text: nil
accept: #sendTextToControl:.
controlPane acceptOnCR: true.
However, if I just do a cr without any text, the cr gets eaten somewhere and
my #sendTextToControl: does not get accessed. I would like the cr by itself
to be sent even if there is no other text to be sent. But where oh where and
how should this be changed? Do I have to subclass PluggableTextMorph and
then override the 'access' message or is there an easier way?
Thx for any help.
Ken
More information about the Squeak-dev
mailing list
|