Many minor bug and behavior fixes to get the text system to work with several text containers attached to one layout manager.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15924 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-02-10 14:14:34 +00:00
parent f9fea1156d
commit 87a4e8d28d
4 changed files with 81 additions and 22 deletions

View file

@ -1336,6 +1336,11 @@ incorrectly. */
}
/*
TODO: There is code in TextEdit that implies that the minimum size is
mostly ignored, and that the size of the containing clip view is always
used instead. Should test on OS to find out what the proper behavior is.
*/
-(void) setConstrainedFrameSize: (NSSize)desiredSize
{
NSSize newSize;
@ -2866,7 +2871,8 @@ Figure out how the additional layout stuff is supposed to work.
}
if (_layoutManager->_selected_range.length > 0 ||
_layoutManager->_selected_range.location == NSNotFound)
_layoutManager->_selected_range.location == NSNotFound ||
!restartFlag)
{
new = NSZeroRect;
}