Le 14/07/2011 11:15, Tudor Girba a écrit :
Hi,

How can I get a notice when the selection changes in a PluggableTextMorph? I 
see no obvious hook.
AFAIK, no hook in PluggableTextMorph.

When the selection is changed, an editor sends #storeSelectionInParagraph to itself. maybe one can start from here to add a hook. There is also TextMorph>>#selectionChanged but it is more for selection drawing purpose. If I remember well, it is also sent when the textmorph is scrolled.

hope it helps
Cheers
Alain



Cheers,
Doru


--
www.tudorgirba.com

"Obvious things are difficult to teach."







Reply via email to