On Apr 7, 2010, at 11:52 AM, Martin Hewitson <[email protected]> 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 protected])
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]