[Newbies] Finding out a TextMorph cursor position
madevu at pacbell.net
Mon Mar 17 20:02:09 UTC 2008
aTextMorph editor selectionInterval start
----- Original Message ----
From: Marcus Strehlow <marcus.strehlow at gmail.com>
To: beginners at lists.squeakfoundation.org
Sent: Monday, March 17, 2008 11:59:58 AM
Subject: [Newbies] Finding out a TextMorph cursor position
short question. Is it possible to find out the cursor position of the cursor as I type? I mean in terms of a numerical position? Like when I type 'abc' into an empty field, the cursor position should be 3. But when I click somewhere, say between the a and b, the cursor location should return 1. Is it possible to find this out? For two hours I'm looking in any conceivable code and have not found anything for it.
Beginners mailing list
Beginners at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners