I opened a case https://pharo.fogbugz.com/f/cases/14756/ Anywhay, anybody knows what this method #whenReadSelectionIsChanged: is responsible for? 2015-01-20 9:58 GMT+01:00 Mark Rizun <mrizun@gmail.com>:
I had a quick look. I confirm that TextModel keeps a value holder on the
current selection interval, in the instance variable named âselection', but apparently there is no API to register to notifications to that. I consider that a missing feature, so I think it is best that you add a bug report for that.
Exactly! I think so too: it's just missing, and has to be fixed. I'll open an issue Thanks
In the mean time, Iâm sure you could hack something together that registers your application for notifications of the value holder that is in âselectionâ ;-)
At least I can try to figure it out.
Mark