diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPTextView.m | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/SPTextView.m b/Source/SPTextView.m index a9831b55..dcb9dad7 100644 --- a/Source/SPTextView.m +++ b/Source/SPTextView.m @@ -2958,8 +2958,8 @@ static inline NSPoint SPPointOnLine(NSPoint a, NSPoint b, CGFloat t) { return NS [paragraphStyle release]; } -- (void)drawRect:(NSRect)rect { - +- (void)drawViewBackgroundInRect:(NSRect)rect { + [super drawViewBackgroundInRect:rect]; // Draw background only for screen display but not while printing, and only if view // background drawing is enabled. @@ -3010,8 +3010,6 @@ static inline NSPoint SPPointOnLine(NSPoint a, NSPoint b, CGFloat t) { return NS } } - - [super drawRect:rect]; } - (NSBezierPath*)roundedBezierPathAroundRange:(NSRange)aRange |