TextEdit-speed file loading

2008-02-28 Thread Steven Degutis
I have a large (ascii) text file, about 65 MB, which TextEdit loads instantaneously in about a split second. I've tried to mimic this behavior using NSTextView to no avail. The problem isn't about unresponsiveness, because it's completely responsive during this loading of the large text file. The

Re: TextEdit-speed file loading

2008-02-28 Thread Ali Ozer
TextEdit calls -[NSLayoutManager setAllowsNonContiguousLayout:YES]; could that be it? Ali On Feb 28, 2008, at 20:06 , Steven Degutis wrote: I have a large (ascii) text file, about 65 MB, which TextEdit loads instantaneously in about a split second. I've tried to mimic this behavior using

Fwd: TextEdit-speed file loading

2008-02-28 Thread Steven Degutis
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