Strange error solved by turning off "Non-contiguous Layout"
Strange error solved by turning off "Non-contiguous Layout"
- Subject: Strange error solved by turning off "Non-contiguous Layout"
- From: Brad Stone <email@hidden>
- Date: Tue, 21 Dec 2010 23:08:44 -0500
I have an NSTextView that has about 1,900 characters in it. Just regular text. If I edit the text and save my app hangs at [[self managedObjectContext] commitEditing]; I found setting nonContinuousLayout to NO in the NSTextView prevents the hang but that's not really solving the problem.
Here's what's strange. If I expand the window so the all the text shows without the scroll bar it doesn't hang. If I edit the same text but scroll down the get it I get a hang. If I set nonContiguousLayout to NO it doesn't hang in either scenario.
What advice can anyone give as to how I can address this problem?
Thanks, Brad_______________________________________________
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