Re: Two problems trying to use NSTextView for a scrolling console/terminal like view
Re: Two problems trying to use NSTextView for a scrolling console/terminal like view
- Subject: Re: Two problems trying to use NSTextView for a scrolling console/terminal like view
- From: Jens Alfke <email@hidden>
- Date: Sat, 28 Dec 2013 22:37:28 -0800
On Dec 28, 2013, at 10:11 PM, Eric Wing <email@hidden> 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 amounts, use custom text engines. (Terminal, for instance.)
If you just need read-only text without soft wrap, it’s not terribly hard to build your own text display engine. (There might even be an open source one?)
—Jens
_______________________________________________
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