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: Martin Hewitson <email@hidden>
- Date: Wed, 7 Apr 2010 17:52:52 +0200
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];
}
One further piece of info: if I set the layout manager to allow non-contiguous layout, I get different errors:
[layoutManager setAllowsNonContiguousLayout:YES];
_NSLayoutTreeLineFragmentRectForGlyphAtIndex invalid glyph index 0
Thanks again,
Martin
On Apr 7, 2010, at 5:20 PM, Kyle Sluder wrote:
> On Apr 6, 2010, at 11:31 PM, Martin Hewitson <email@hidden> wrote:
>
>> 8 TeXnicle 0x000000010001e85e -[TPTextView insertText:] + 199
>
> You need to show us the code for this method.
>
> --Kyle Sluder
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer
Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: email@hidden
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
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