NSTextView related exceptions
NSTextView related exceptions
- Subject: NSTextView related exceptions
- From: Mark Alldritt <email@hidden>
- Date: Sat, 22 Jan 2005 09:39:47 -0800
Hi All,
I'm seeing two exceptions being raised by NSTextView and the classes it
uses.
1) 2005-01-22 09:31:10.454 Rosie Debug[1114] *** layout manager 6998f70
failed to progress beyond index 62 while drawing glyphs.
When this happens, test beyond the index (62 in this case) is not drawn.
2) 2005-01-18 18:48:25.803 Rosie[1272] Exception raised during posting of
notification. Ignored. exception: -[NSLayoutManager
_fillLayoutHoleAtIndex:desiredNumberOfLines:] *** attempted layout while
textStorage is editing. It is not valid to cause the layoutManager to do
layout while the textStorage is editing (ie the textStorage has been sent a
beginEditing message without a matching endEditing.)
This happens when I type quickly. If I type slowly, the exception never
happens.
Can anyone offer ideas about how I can trace the cause of these exceptions
in my code?
Cheers
-Mark
------------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 Script Debugger 3.0 - AppleScript IDE
WEB: http://www.latenightsw.com/ Affrus 1.0 - Perl Debugging
_______________________________________________
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