Hi,
here is a patch for NSTextView that redraws the background correctly when
characters are deleted.
Georg
2001-09-14 Georg Fleischmann
* gui/Source/NSTextView.m ([NSTextView -drawRect:]):
redraw background for entire rect not just glyph range
--- gui/Source/NSTextView.m.orig Fri Aug 31 04:30:41 2001
+++ gui/Source/NSTextView.m Fri Sep 14 19:30:40 2001
@@ -2538,8 +2538,8 @@
inTextContainer: _textContainer];
if (_tf.draws_background)
{
- [_layoutManager drawBackgroundForGlyphRange: drawnRange
- atPoint: _textContainerOrigin];
+ [[self backgroundColor] set];
+ NSRectFill(rect);
}
[_layoutManager drawGlyphsForGlyphRange: drawnRange
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep