• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Does characterIndexForPoint ever return NSNotFound?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Does characterIndexForPoint ever return NSNotFound?
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Some confusion on memory management
  • Next by Date: Launching an application from cocoa
  • Previous by thread: Re: Some confusion on memory management
  • Next by thread: Re: Does characterIndexForPoint ever return NSNotFound?
  • Index(es):
    • Date
    • Thread