Does characterIndexForPoint ever return NSNotFound?
Does characterIndexForPoint ever return NSNotFound?
- Subject: Does characterIndexForPoint ever return NSNotFound?
- From: Camillo Lugaresi <email@hidden>
- Date: Fri, 20 Jan 2006 16:42:09 +0100
According to the documentation, characterIndexForPoint returns
NSNotFound for points which are not over any character. However, in
practice it always seems to return a valid character index: for
example, for points way above the upper edge of the screen it returns
0, and for points way below it returns the index of the last
character. Can anyone confirm this? Should I file a bug?
Camillo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden