Fixed crash in NSTextView when pressing C-e on an empty line

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11829 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-12-19 00:34:50 +00:00
parent 800a2241d4
commit 502d811501

View file

@ -1,3 +1,13 @@
Tue Dec 18 22:13:31 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([-moveToEndOfLine:]): Fixed crashes for
empty lines by carefully checking for special cases.
* Source/NSLayoutManager.m
([-lineFragmentRectForGlyphAtIndex:effectiveRange:]): Fixed setting
effective range.
([-lineFragmentUsedRectForGlyphAtIndex:effectiveRange:]): Idem.
([-textContainerForGlyphAtIndex:effectiveRange:]): Idem.
2001-12-19 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSApplication.m