• 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
Serious NSTextStorage subclassing troubles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Serious NSTextStorage subclassing troubles


  • Subject: Serious NSTextStorage subclassing troubles
  • From: Francisco Tolmasky <email@hidden>
  • Date: Wed, 24 Aug 2005 03:30:17 -0700

For some reason I can't make a proper subclass of NSTextStorage. I've tried the examples online buy no matter what I do, I always end up with one of the following:

*** NSRunStorage, _NSBlockNumberForIndex(): index (4294967295) beyond array bounds (0)
*** -[NSCFString substringWithRange:]: Range or index out of bounds


Maybe its with how I'm using the text storage? I'm instantiating it and giving it to the layout manager like the examples on developer.apple.com

Does anyone know what could be up?

Thanks in advance,

Francisco Tolmasky
email@hidden
www-scf.usc.edu/~tolmasky


_______________________________________________ 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: Serious NSTextStorage subclassing troubles
      • From: Max Horn <email@hidden>
  • Prev by Date: Re: UTF8 question.
  • Next by Date: Apple events from daemon process to application in Cocoa
  • Previous by thread: [ANN] Articles on Xgrid and Cocoa
  • Next by thread: Re: Serious NSTextStorage subclassing troubles
  • Index(es):
    • Date
    • Thread