mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 05:30:37 +00:00
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:
parent
f9fea1156d
commit
87a4e8d28d
4 changed files with 81 additions and 22 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue