Re: Position of the selection cursor in an NSTextField
Re: Position of the selection cursor in an NSTextField
- Subject: Re: Position of the selection cursor in an NSTextField
- From: Bjoern Kriews <email@hidden>
- Date: Mon, 23 Feb 2004 20:55:04 +0100
On 23.02.2004, at 19:38, David Dauer wrote:
Thanks, but I need the actual position of the cursor without that any
text
is selected.
Is that possible?
selectedRange is exactly this - either you get a selection with lenght
0,
then you have a cursor - otherwise you have a selection and know where
the
cursor would jump to when you hit cursor keys or start typing.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.