[Newbies] Finding out a TextMorph cursor position
Marcus Strehlow
marcus.strehlow at gmail.com
Mon Mar 17 18:59:58 UTC 2008
Hi guys,
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.
Thanks guys
Marcus
--
iMac -- 20 inch -- Core 2, 2 GHz -- 1 GB RAM -- Superdrive -- Mac OS X
Leopard 10.5.2
MacBook -- 13.3 inch -- Core 2, 1.83 GHz -- 1.5 GB RAM -- Combodrive
-- Mac OS X Leopard 10.5.2
iMac G5 -- 17 inch -- PPC G5 1.8 GHz -- 1 GB RAM -- Superdrive -- Mac
OS X Leopard 10.5.2
iPod touch -- 16 GB -- Software Upgrade -- OS X 1.1.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080317/5c81ac40/attachment.htm
More information about the Beginners
mailing list