Hi Guys,

I'm using non-contiguous layout in one of my text views and I keep getting this strange drawing error when I scroll quickly just after the document has loaded:

http://flickr.com/photos/jonathandann/2364567591/

I have a method that highlights syntax by getting the visible character range in the scroll view and setting some temporary attributes to the text. When that is never called, this drawing bug (is it invalidation of glyphs?) doesn't happen. I've tried all the different variations on the ensureLayout and placed them everywhere I can think of I'm even getting the -didCompleteLayout..... method sent to my layout manager's delegate.

When this happens if I switch apps I see the view fix the drawing, the same happens if I scroll a tiny bit more after I see this. Calling - display and -displayIfNeeded on the textView after setting the temporary attributes doesn't work either. Does anybody have any experience with this issue, I'm at a loss.

Thanks in advance,

Jonathan

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to