site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=rACRk065akOYce9BCaEILQwqXl9e41IdS0LH+l26xC+Ltnja1fUDye9/MHDcpiJRS/vf8oh5GSepb+xUICxVkkkSrB1GgL7ukulbQH3fsu+IQGcibD86A4tgrXq/zXHzzaKoRHECpc9aLNVRjH+vFSWXKXpM+HdmW4cn691A3Rc= ; 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 (Cocoa-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... This email sent to site_archiver@lists.apple.com