Hi Ben,
We have doubt about the getSelection of TextModel.
Execute the following in a Workspace:
model := TextModel new.
model openWithSpec.
In the window, insert some text, and select something. Evaluate the following:
model getSelection
It always returns (1 to: 0) for us.
Do you confirm?
https://pharo.fogbugz.com/f/cases/12144/TextModel-getSelection
Cheers,
Johan Fabry & Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.