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
This commit is contained in:
Nicola Pero 2002-02-11 02:03:24 +00:00
parent 6a3a289ea7
commit 8e7bfb06a7

View file

@ -1,3 +1,15 @@
Sun Feb 10 23:53:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
* 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 <pyrivail@ens-lyon.fr> 2002-02-09 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/GSFontInfo.m: ([GSFontInfo -defaultLineHeightForFont]): * Source/GSFontInfo.m: ([GSFontInfo -defaultLineHeightForFont]):