Re: exceptions when NSTextStorage initialized with empty string
Re: exceptions when NSTextStorage initialized with empty string
- Subject: Re: exceptions when NSTextStorage initialized with empty string
- From: Ross Carter <email@hidden>
- Date: Wed, 07 Apr 2010 16:50:54 -0400
On Apr 7, 2010, at 11:52 AM, Martin Hewitson <email@hidden> wrote:
> Hi Kyle,
>
> At the moment it does nothing but call super. I was using it to handle line-wrapping, but in the process of debugging this problem it's reduced to
>
> - (void)insertText:(id)aString
> {
> [super insertText:aString];
> }
I would set a breakpoint here and examine a description of the textStorage and the layoutManager. Also, are you creating the NSTextStorage from an empty string? Nil? Or possibly some other value?
_______________________________________________
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