• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: exceptions when NSTextStorage initialized with empty string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: exceptions when NSTextStorage initialized with empty string
      • From: Ross Carter <email@hidden>
References: 
 >exceptions when NSTextStorage initialized with empty string (From: Martin Hewitson <email@hidden>)
 >Re: exceptions when NSTextStorage initialized with empty string (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Table view question
  • Next by Date: Re: exceptions when NSTextStorage initialized with empty string
  • Previous by thread: Re: exceptions when NSTextStorage initialized with empty string
  • Next by thread: Re: exceptions when NSTextStorage initialized with empty string
  • Index(es):
    • Date
    • Thread