We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 51e4114 + 418b98e commit 0b2421eCopy full SHA for 0b2421e
1 file changed
src/MacVim/MMCoreTextView.m
@@ -1412,10 +1412,8 @@ - (void)drawString:(const UniChar *)chars length:(UniCharCount)length
1412
1413
- (void)scrollRect:(NSRect)rect lineCount:(int)count
1414
{
1415
- NSPoint destPoint = rect.origin;
1416
- destPoint.y -= count * cellSize.height;
1417
-
1418
- NSCopyBits(0, rect, destPoint);
+ NSSize delta={0, -count * cellSize.height};
+ [self scrollRect:rect by:delta];
1419
}
1420
1421
- (void)deleteLinesFromRow:(int)row lineCount:(int)count
0 commit comments