Lots of fixes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4844 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Michael Silva 1999-09-07 08:59:35 +00:00
parent 44dc7234b5
commit 6ef83b3719
12 changed files with 352 additions and 214 deletions

View file

@ -939,12 +939,23 @@ container, returning the modified location. */
[textStorage replaceCharactersInRange:[self selectedRange]
withAttributedString:(NSAttributedString *)aString];
[self sizeToFit]; // ScrollView interaction
[self setSelectedRange:NSMakeRange([self
selectedRange].location+[aString length],0)];
[self display];
[window update];
[self textDidChange: nil]; // broadcast notification
NSLog(@"%@", [textStorage string]);
}
- (void)sizeToFit
{
NSLog(@"sizeToFit called.\n");
}
- (void)drawRect:(NSRect)aRect
{
if(tv_backGroundColor)