On Dec 28, 2013, at 10:11 PM, Eric Wing wrote:
> But I did notice a new problem. At around 800,000 lines, the
> NSTextView stops displaying new appended text.
The Cocoa text system really doesn’t scale well to such huge amounts of text.
The only apps I know of that can handle really large amou
On 12/28/13, Jerry Krinock wrote:
>
> On 2013 Dec 28, at 15:14, Eric Wing wrote:
>
>> 1) I figured out that the bottleneck was in scrollRangeToVisible call.
>
> You could see if you have better luck with -[NSView scrollPoint:].
>
>> 2) -[NSBigMutableString replaceCharactersInRange:withString:]: n
On 2013 Dec 28, at 15:14, Eric Wing wrote:
> 1) I figured out that the bottleneck was in scrollRangeToVisible call.
You could see if you have better luck with -[NSView scrollPoint:].
> 2) -[NSBigMutableString replaceCharactersInRange:withString:]: nil argument
Well, there’s the obvious answer
I’ve been prototyping an internal tool that receives and displays lots
of text data. I wanted to display this kind of like how Terminal.app
continuously appends text and keeps scrolling to the bottom as more
data is added.
I used a stock NSTextView and keep appending to the backing NSTextStorage.