Superscript causing crash
Superscript causing crash
- Subject: Superscript causing crash
- From: Philip Dow <email@hidden>
- Date: Wed, 24 Aug 2005 11:42:20 +0200
Hi all,
I've been having a hell of a time tracking down a bug in my app but
finally discovered the source. It seems that superscripted text will
cause the application to crash.
The setup allows the user to select from a list of objects. Each
object contains RTFD Data which is set into a custom NSTextView as
the user selects it. When the user selects another object, the
current text is saved into the RTFD Data property and the
NSTextView's text is replaced with the data of the new object.
Previously, I was accomplishing this manually, but now I am doing it
with bindings. In both cases, superscripted text will cause the
application to crash when switching from one object to another. And
to make matters worse, the crash occurs randomly.
The app *is* threaded, and I *do* make programmatic additions to the
custom text view, but in this situation, no thread is acting on the
text view and the user is using only standard text technologies, ie
the font and color panels, the format and text menus, etc. In other
words, my app isn't acting on the custom text view, only the cocoa
text system.
Has anyone encountered anything similar here? I've done a couple
searches in google but haven't come up with anything. Any thoughts?
-Phil
http://phildow.net
_______________________________________________
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