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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to