Fixes to textview and layout manager for correct move to end of line, and

positioning of insertion point when clicking past end of line (or before
start of line)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14620 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-10-01 16:20:06 +00:00
parent a8fd7206bd
commit 898eff7291

View file

@ -1,3 +1,25 @@
Tue Oct 1 17:07:25 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSSimpleLayoutManager.h (_lineLayoutInformation): Renamed
to _lineLayoutInfo.
* Source/GSSimpleLayoutManager.m: Updated for change.
Tue Oct 1 16:58:36 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([NSTextView -moveToEndOfLine:]): Fixed
moving to the end of 'one before the last' line.
([NSTextView -moveToEndOfParagraph:]): Idem.
Tue Oct 1 16:40:29 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSSimpleLayoutManager.m
([-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:]):
Fix the insertion point positioning when clicking beyond the last
character of a line in an NSTextView, or before the first one;
special care to be used for the last line in the textview
(Originated by a patch by David Ayers <d.ayers@inode.at>, modified
by me).
2002-09-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFont.m: Rewrote code dealing with creation and destruction