Re: ERROR -- *** layout manager 12e71b0 reentrant glyph generation problem.
Re: ERROR -- *** layout manager 12e71b0 reentrant glyph generation problem.
- Subject: Re: ERROR -- *** layout manager 12e71b0 reentrant glyph generation problem.
- From: Douglas Davidson <email@hidden>
- Date: Thu, 12 Feb 2004 09:57:54 -0800
On Feb 12, 2004, at 9:17 AM, Ashwin A Prabhu wrote:
I am getting this when i try to set the TextView to a default String
like
@"Enter Text Here"
I first have the TextView blank and then when i try to set to the above
string i get the following error:
*** layout manager 12e71b0 reentrant glyph generation problem.
The container Size is handled programatically in the Layout managers
delegate method -
- (void)layoutManager:(NSLayoutManager *)aLayoutManager
didCompleteLayoutForTextContainer:(NSTextContainer *)aTextContainer
atEnd:(BOOL)flag
Generally speaking it is not a good idea to change the text during
layout. The simplest solution would be to use a perform-after-delay,
but perhaps you can reconsider your architecture so that changing the
text is not triggered by layout.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.