git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8687 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-01-18 23:04:04 +00:00
parent bd467249b9
commit a7967b1511
2 changed files with 14 additions and 6 deletions

View file

@ -3120,12 +3120,18 @@ other than copy/paste or dragging. */
return;
[_textStorage beginEditing];
if (_tf.is_rich_text)
[_textStorage replaceCharactersInRange: aRange
withAttributedString: attrString];
{
[_textStorage replaceCharactersInRange: aRange
withAttributedString: attrString];
}
else
[_textStorage replaceCharactersInRange: aRange
withString: [attrString string]];
{
[_textStorage replaceCharactersInRange: aRange
withString: [attrString string]];
}
[_textStorage endEditing];
[self didChangeText];
}

View file

@ -345,7 +345,7 @@ static NSCell* tileCell = nil;
- (void) drawRect: (NSRect)rect
{
NSColor *c = [[self window] backgroundColor];
[c set];
NSRectFill(rect);
}
@ -3440,7 +3440,9 @@ resetCursorRectsForView(NSView *theView)
r.origin = NSZeroPoint;
r.size = aSize;
if (_contentView)
[_contentView setFrame: r];
{
[_contentView setFrame: r];
}
}
- (void) _setVisible: (BOOL)flag