(-drawGlyphsForGlyphRange:atPoint:): Use the focused view as the control view instead of the text container's text view.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16132 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-03-05 16:10:37 +00:00
parent 368c851e38
commit 836df5adbe
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2003-03-05 17:07 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m (-drawGlyphsForGlyphRange:atPoint:):
Use the focused view as the control view instead of the text
container's text view (it might not have one).
2003-03-03 19:26 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-usedRectForTextContainer:): Don't add

View file

@ -1416,7 +1416,7 @@ container
NSRect cellFrame;
if (!controlView)
controlView = [tc->textContainer textView];
controlView = [NSView focusView];
while (la->pos != g && la_i < lf->num_attachments)
{