mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 18:00:37 +00:00
2004-11-11 15:08 Alexander Malmberg <alexander@malmberg.org>
* Source/NSCell.m (-_setupTextWithFrame:inView:editor:): Reduce the maximum size. Explicitly set the size of the text view, and make it not resizable. * Source/NSLayoutManager.m (-rectArrayForGlyphRange: withinSelectedGlyphRange:inTextContainer:rectCount:): Fix check for whether the starting index is inside a line frag rect. * Source/NSTextView.m (-sizeToFit): Don't increase the size if we have no inset. (-updateInsertionPointStateAndRestartTimer:): Force the insertion point rect to be inside the text view. (-scrollRangeToVisible:): If we are a non-rich-text field editor, adjust the scrolling to make the auto-scrolling more useful. Fixes bug #9279. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20340 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bb3c8c0500
commit
7c48004c48
4 changed files with 149 additions and 23 deletions
|
@ -269,7 +269,7 @@ container? necessary? */
|
|||
while (1)
|
||||
{
|
||||
/* Determine the starting x-coordinate for this line frag rect. */
|
||||
if (lf->pos < glyphRange.location)
|
||||
if (lf->pos <= glyphRange.location)
|
||||
{
|
||||
/*
|
||||
The start index is inside the line frag rect, so we need to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue