• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Two problems trying to use NSTextView for a scrolling console/terminal like view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Two problems trying to use NSTextView for a scrolling console/terminal like view (From: Eric Wing <email@hidden>)
 >Re: Two problems trying to use NSTextView for a scrolling console/terminal like view (From: Jerry Krinock <email@hidden>)
 >Re: Two problems trying to use NSTextView for a scrolling console/terminal like view (From: Eric Wing <email@hidden>)

  • Prev by Date: Re: Two problems trying to use NSTextView for a scrolling console/terminal like view
  • Next by Date: 'NSInvalidArgumentException', reason: 'Unable to parse constraint format: Expected a view
  • Previous by thread: Re: Two problems trying to use NSTextView for a scrolling console/terminal like view
  • Next by thread: 'NSInvalidArgumentException', reason: 'Unable to parse constraint format: Expected a view
  • Index(es):
    • Date
    • Thread