From 66ae364e43aa7b92f8585b553cfb97a41bba25ea Mon Sep 17 00:00:00 2001 From: alexm Date: Sat, 22 Feb 2003 01:41:53 +0000 Subject: [PATCH] Declare -layoutManager:didCompleteLayoutForTextContainer:atEnd: so it's visible (to gcc and to delegate implementers). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16042 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 11 +++++++++++ Headers/gnustep/gui/GSLayoutManager.h | 8 ++++++++ 2 files changed, 19 insertions(+) diff --git a/ChangeLog b/ChangeLog index c03c276fd..7d5045bab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2003-02-22 02:34 Alexander Malmberg + + * Headers/gnustep/gui/GSLayoutManager.h: Declare + -layoutManager:didCompleteLayoutForTextContainer:atEnd: so it's + visible (to gcc and to delegate implementers). + + * Source/GSHorizontalTypesetter.m, Source/NSLayoutManager.m: Make + sure the extra line frag is always set when we reach the end (ie. + even after soft-invalidated layout information has been used up to + the end). + 2003-02-21 Serg Stoyan * Source/NSApplication.m (-activateIgnoringOtherApps:): Remove diff --git a/Headers/gnustep/gui/GSLayoutManager.h b/Headers/gnustep/gui/GSLayoutManager.h index 9c9e9e198..558a2b316 100644 --- a/Headers/gnustep/gui/GSLayoutManager.h +++ b/Headers/gnustep/gui/GSLayoutManager.h @@ -333,5 +333,13 @@ layout information. @end + +@interface NSObject (GSLayoutManagerDelegate) +-(void) layoutManager: (GSLayoutManager *)layoutManager + didCompleteLayoutForTextContainer: (NSTextContainer *)textContainer + atEnd: (BOOL)atEnd; +@end + + #endif