[Q] TextMorph, MouseMoveEvent and detecting a word
Hannes Hirzel
hirzel at spw.unizh.ch
Sat Jan 19 00:56:36 UTC 2002
Hi
I'd like to know over which word the mouse is in the text of a TextMorph.
The message
handleMouseMove: anEvent
is sent to the TextMorph, where anEvent is a MouseMoveEvent. It has the
instance variable 'position' which is a Point.
So my question is how to find out a word in a TextMorph given a point in
it. Could somebody help me please?
Regards
Hannes
More information about the Squeak-dev
mailing list
|