From bef430bc830b7affe616f9591e69a823167ad2c1 Mon Sep 17 00:00:00 2001 From: Fred Kiefer Date: Wed, 27 Feb 2002 23:35:48 +0000 Subject: [PATCH] Implemented extra line fragment methods. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12857 72102866-910b-0410-8b05-ffd578937521 --- Source/NSLayoutManager.m | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Source/NSLayoutManager.m b/Source/NSLayoutManager.m index 7942b8191..cd6ca9ee4 100644 --- a/Source/NSLayoutManager.m +++ b/Source/NSLayoutManager.m @@ -2436,25 +2436,24 @@ _GLog(self,_cmd); usedRect: (NSRect)usedRect textContainer: (NSTextContainer*)aTextContainer { - /* TODO */ + _extraLineFragmentRect = aRect; + _extraLineFragmentUsedRect = usedRect; + _extraLineFragmentContainer = aTextContainer; } - (NSRect) extraLineFragmentRect { - /* TODO */ - return NSZeroRect; + return _extraLineFragmentRect; } - (NSRect) extraLineFragmentUsedRect { - /* TODO */ - return NSZeroRect; + return _extraLineFragmentUsedRect; } - (NSTextContainer*) extraLineFragmentTextContainer { - /* TODO */ - return nil; + return _extraLineFragmentContainer; } - (NSRect)usedRectForTextContainer:(NSTextContainer *)container