|
Re: Finding out a TextMorph cursor position: msg#00116lang.smalltalk.squeak.beginners
Hi, Marcus, Try: aTextMorph editor selectionInterval start Cheers, -- Scott ----- Original Message ---- From: Marcus Strehlow <marcus.strehlow@xxxxxxxxx> To: beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx Sent: Monday, March 17, 2008 11:59:58 AM Subject: [Newbies] Finding out a TextMorph cursor position Hi guys, short question. Is it possible to find out th
e 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 Beginners mailing list Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx http://lists.squeakfoundation.org/mailman/listinfo/beginners
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Finding out a TextMorph cursor position, Marcus Strehlow |
|---|---|
| Next by Date: | Google Summer of Code 2008 - we're in!, Giovanni Corriga |
| Previous by Thread: | Finding out a TextMorph cursor position, Marcus Strehlow |
| Next by Thread: | Google Summer of Code 2008 - we're in!, Giovanni Corriga |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |