how to set the cursor position in TextMorph

Celal Ziftci celalziftci at gmail.com
Thu May 11 02:33:50 UTC 2006


I think a TextMorph doesnt have such a method called 'setSelection'.
I tried running it but it doesn't understand the message.
Thanks for the response though.

- Celal


------------------------------------------------------------------------------------

How about

	myTextMorph setSelection: (7 to: 6)

Or change the range to have a selection instead of a caret.




More information about the Squeak-dev mailing list