From 8e7bfb06a7f8b6e268012b2f7367f726bc81a70e Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Mon, 11 Feb 2002 02:03:24 +0000 Subject: [PATCH] Fixes in the layout manager so that it no longer crash if you use it without a text container - updated NSText startup sequence for this change git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12483 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index c346fd435..53c74806f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Sun Feb 10 23:53:51 2002 Nicola Pero + + * Source/GSSimpleLayoutManager.m + ([-textContainerForGlyphAtIndex:effectiveRange:]): Return nil + if no text container was set. + * Source/NSLayoutManager.m ([-firstTextView]): Always return + _firstTextView. ([-removeTextContainerAtIndex:]): Set + _firstTextView to nil if we removed the last text container. + * Source/NSTextView.m ([-buildUpTextNetwork:]): Updated setup + sequence for the fixes in the layout manager - bound the layout + manager and the text storage before creating the text container. + 2002-02-09 Pierre-Yves Rivaille * Source/GSFontInfo.m: ([GSFontInfo -defaultLineHeightForFont]):