Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TextEdit-speed file loading




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >TextEdit-speed file loading (From: "Steven Degutis" <email@hidden>)
 >Re: TextEdit-speed file loading (From: Ali Ozer <email@hidden>)
 >Fwd: TextEdit-speed file loading (From: "Steven Degutis" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.