• 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: scrollRangeToVisible is slowing me down
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scrollRangeToVisible is slowing me down


  • Subject: Re: scrollRangeToVisible is slowing me down
  • From: Justin Spahr-Summers <email@hidden>
  • Date: Wed, 23 Feb 2005 16:09:34 -0600

Maybe instead of using scrollRangeToVisible, you could just insert new
text at the beginning rather than the end. That might speed it up a
bit, but I don't know for sure.

On Wed, 23 Feb 2005 01:42:41 -0500, Adam <email@hidden> wrote:
> I have an NSTextView acting as a log. While the app is running it is
> constantly writing lines of text to the NSTextView. During times of
> heavy traffic the APP lags. I have noticed that one of the biggest
> overheads is the scrollRangeToVisible method. Without this method the
> text is added to the end of the NSTextView and the user must scroll
> down after each line is written. How can I keep the most recently
> updated area visible to my user without taking a performance hit.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: scrollRangeToVisible is slowing me down
      • From: Adam <email@hidden>
References: 
 >scrollRangeToVisible is slowing me down (From: Adam <email@hidden>)

  • Prev by Date: Re: IB crash with custom binding
  • Next by Date: Re: Receiving notification of New or Open document?
  • Previous by thread: Re: scrollRangeToVisible is slowing me down
  • Next by thread: Re: scrollRangeToVisible is slowing me down
  • Index(es):
    • Date
    • Thread