• 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
Re: NSTextView causes lockups when appending too quickly and/or scrolling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView causes lockups when appending too quickly and/or scrolling


  • Subject: Re: NSTextView causes lockups when appending too quickly and/or scrolling
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 5 Jun 2008 14:43:25 -0700


On Jun 5, 2008, at 2:40 PM, Steven Moore wrote:

Heh, whoops. Maybe I should read the documentation better. The warning is already there, I just missed it:

"NSTextStorage also defines a set of methods ... useful for getting and setting scriptable properties of NSTextStorage objects... In particular, using thecharacters, words or paragraphs methods or their corresponding setter methods is an inefficient way to manipulate the text storage, since these methods create and return many objects."


I think the warning is important enough that it should be noted with the documentation for each of the individual methods as well, so I'd file a bug about that. The documentation doesn't really preserve the way the headers separate these methods into the NSTextStorageScripting.h header file, so something extra is needed.


-Doug

_______________________________________________

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


References: 
 >NSTextView causes lockups when appending too quickly and/or scrolling (From: Steven Moore <email@hidden>)
 >Re: NSTextView causes lockups when appending too quickly and/or scrolling (From: Nick Zitzmann <email@hidden>)
 >Re: NSTextView causes lockups when appending too quickly and/or scrolling (From: Steven Moore <email@hidden>)
 >Re: NSTextView causes lockups when appending too quickly and/or scrolling (From: Nick Zitzmann <email@hidden>)
 >Re: NSTextView causes lockups when appending too quickly and/or scrolling (From: Ross Carter <email@hidden>)
 >Re: NSTextView causes lockups when appending too quickly and/or scrolling (From: Steven Moore <email@hidden>)
 >Re: NSTextView causes lockups when appending too quickly and/or scrolling (From: Douglas Davidson <email@hidden>)
 >Re: NSTextView causes lockups when appending too quickly and/or scrolling (From: Steven Moore <email@hidden>)

  • Prev by Date: Re: NSTextView causes lockups when appending too quickly and/or scrolling
  • Next by Date: enumeratorAtPath - path string issue???
  • Previous by thread: Re: NSTextView causes lockups when appending too quickly and/or scrolling
  • Next by thread: Strange Error
  • Index(es):
    • Date
    • Thread