* Source/GSStandardWindowDecorationView.m: Live window resize changes

for when using GNUstep decorations in resizeWindowStartingWithEvent:.
	* Source/NSLayoutManager.m: Unarchive the text containers into an 
	array in initWithCoder:.
	* Source/NSTextContainer.m: Get the layout manager in initWithCoder:.
	* Source/NSTextView.m: Changes to include text container from nib
	file into the nib loading process in initWithCoder:.   


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28296 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2009-05-23 15:50:51 +00:00
parent 7b6563b013
commit e42b695869
5 changed files with 32 additions and 8 deletions

View file

@ -852,16 +852,19 @@ that makes decoding and encoding compatible with the old code.
// currently not used....
if ([aDecoder containsValueForKey: @"NSTextContainer"])
{
{
/*
NSSize size = NSMakeSize(0,_maxSize.height);
NSTextContainer *aTextContainer = [self buildUpTextNetwork: NSZeroSize];
[aTextContainer setTextView: (NSTextView *)self];
/* See initWithFrame: for comments on this RELEASE */
// See initWithFrame: for comments on this RELEASE
RELEASE(self);
[aTextContainer setContainerSize: size];
[aTextContainer setWidthTracksTextView: YES];
[aTextContainer setHeightTracksTextView: NO];
*/
_textContainer = [aDecoder decodeObjectForKey: @"NSTextContainer"];
}
if ([aDecoder containsValueForKey: @"NSTVFlags"])