• 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
-replaceTextStorage: problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-replaceTextStorage: problem


  • Subject: -replaceTextStorage: problem
  • From: Philip White <email@hidden>
  • Date: Mon, 08 Jun 2009 13:00:22 -0600

Hello,
I'm not sure I understand what is wrong with my program well enough to ask an intelligent question but here goes:


I have subclassed NSTextStorage. Everything works fine when I initially setup the text system objects; my NSTextView displays what I want it to.
However, when I later call NSLayoutManager's replaceTextStorage:, it simply does not do anything. It doesn't complain or anything. If I check what that layout manager's associated text storage is immediately after calling replaceTextStorage, it is the old one. Nothing is logged, no exceptions are thrown, nothing changes.


Does this give anyone enough information to offer a suggestion?

Thanks,
   Philip White
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: -replaceTextStorage: problem
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Using non-id sender in IBAction methods
  • Next by Date: Re: Shadow is inside of the object. After Clipping object does not show.
  • Previous by thread: Re: NSOpenPanel : Resolving the file paths for symbolic links
  • Next by thread: Re: -replaceTextStorage: problem
  • Index(es):
    • Date
    • Thread