FROM : Douglas Davidson
DATE : Fri Feb 29 18:07:12 2008
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
DATE : Fri Feb 29 18:07:12 2008
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
| Related mails | Author | Date |
|---|---|---|
| Steven Degutis | Feb 29, 05:26 | |
| Douglas Davidson | Feb 29, 18:07 |






Cocoa mail archive

