mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
(-usedRectForTextContainer:): Don't add the extra line frag rect.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16118 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
017c2515c7
commit
df47a8fe60
2 changed files with 10 additions and 5 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2003-03-03 19:26 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/GSLayoutManager.m (-usedRectForTextContainer:): Don't add
|
||||
the extra line frag rect.
|
||||
|
||||
* Source/NSTextView.m (-sizeToFit): Add the extra line frag rect
|
||||
when computing the size of the view.
|
||||
(-scrollRangeToVisible:): Reimplement using the new insertion point
|
||||
positioning methods.
|
||||
|
||||
2003-03-03 16:17 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/GSHorizontalTypesetter.m (-layoutGlyphsInLayoutManager:
|
||||
|
|
|
@ -2153,11 +2153,6 @@ forStartOfGlyphRange: (NSRange)glyphRange
|
|||
for (i = 0, lf = tc->linefrags; i < tc->num_linefrags; i++, lf++)
|
||||
used = NSUnionRect(used, lf->used_rect);
|
||||
|
||||
if (container == extra_textcontainer)
|
||||
{
|
||||
used = NSUnionRect(used, extra_used_rect);
|
||||
}
|
||||
|
||||
return used;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue