• 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: Apple's Code Level Support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple's Code Level Support


  • Subject: Re: Apple's Code Level Support
  • From: Keith Blount <email@hidden>
  • Date: Thu, 31 Mar 2005 11:28:07 -0800 (PST)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys

Hello Max,

I'm sure you have tried this already, but I'd be
interested in what you found... I know that Ulysses
has a split view so that you can view the same text in
two text views. Presumably the text storages are
shared by doing something like [[secondTextView
layoutManager] replaceTextStorage:[firstTextView
textStorage]]. If so, did you try removing this call,
or did you try creating a test app with only your main
text view and the associated line numbers view - ie.
without a second text view that shares the text
storage?

The reason I ask is that I have come across the same
problem myself. I also had a second text view that
shared the text storage, and when I got rid of the
above line, the  text redraw problem disappeared.
Obviously, though, this doesn't help, as you want a
second text view, but it may help narrow down the
problem.

Actually, I have encountered the same weird slow
redrawing problem very occasionally in Xcode and even
TextEdit. Even if you just set up a simple project
with two text views that share the same text storage,
fill one with a lot of text, and then mess around
hitting enter or deleting a lot of newlines really
quickly, you can *sort of* replicate the problem,
except that it is nowhere near as slow as in the movie
you posted or in my own problematic view. I had to
completely rewrite my own view anyway, and the problem
has *hopefully* gone away - and I still have no idea
what in my old code is causing the weird slow redraw
if the text storage is shared with another text view.

Cheers,
Keith



__________________________________
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs
 _______________________________________________
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

  • Prev by Date: A Question about and applications structure...
  • Next by Date: Re: Cocoa Style Question
  • Previous by thread: Re: Apple's Code Level Support
  • Next by thread: Import/Export items
  • Index(es):
    • Date
    • Thread