Re: TextEdit-speed file loading
Re: TextEdit-speed file loading
- Subject: Re: TextEdit-speed file loading
- From: Douglas Davidson <email@hidden>
- Date: Fri, 29 Feb 2008 09:07:12 -0800
On Feb 28, 2008, at 8:26 PM, Steven Degutis wrote:
I've manually set that to YES using IB3, and it did make a significant
difference in loading time, pretty close to the near-instant time of
TextEdit. However, when I try to scroll through the NSTextView using
the scroll bar, it often becomes unresponsive. I'm assuming this is
because only at that point is it rendering the layout for every
section I scroll past, which would make sense. Though, TextEdit
doesn't show this same behavior. So, I think it's a step closer!
TextEdit's source is all there for you to look at--it just uses
standard NSTextViews. It's difficult for us to tell without more
information what settings you may have on your text views that might
be different from what TextEdit is using, but you should be able to
get the behavior of TextEdit in your application, if necessary by
copying its code.
Douglas Davidson
_______________________________________________
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