Revision: 15878
http://sourceforge.net/p/skim-app/code/15878
Author: hofman
Date: 2025-12-17 10:20:27 +0000 (Wed, 17 Dec 2025)
Log Message:
-----------
rename methods
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2025-12-16 18:12:08 UTC (rev 15877)
+++ trunk/SKPDFView.m 2025-12-17 10:20:27 UTC (rev 15878)
@@ -1090,7 +1090,7 @@
}
}
-- (void)pacerScroll {
+- (void)doPacerScroll {
NSScrollView *scrollView = [self scrollView];
NSClipView *clipView = [scrollView contentView];
NSRect bounds = [clipView bounds];
@@ -1114,7 +1114,7 @@
}
}
-- (void)pacerMoveReadingBar {
+- (void)doPacerMoveReadingBar {
if ([readingBar numberOfLines] > 1 && [readingBar currentLine] >=
[readingBar maxLine] && pacerCounter + 1 < (NSInteger)[readingBar
countOfLines]) {
++pacerCounter;
} else {
@@ -1133,10 +1133,10 @@
if ([self hasReadingBar]) {
pacerCounter = 0;
interval = PACER_LINE_HEIGHT / pacerSpeed;
- block = ^(NSTimer *timer){ [weakSelf pacerMoveReadingBar]; };
+ block = ^(NSTimer *timer){ [weakSelf doPacerMoveReadingBar]; };
} else {
interval = 1.0 / (pacerSpeed * [([self window] ?: (NSWindow
*)[NSScreen mainScreen]) backingScaleFactor] * [self scaleFactor]);
- block = ^(NSTimer *timer){ [weakSelf pacerScroll]; };
+ block = ^(NSTimer *timer){ [weakSelf doPacerScroll]; };
}
pacerTimer = [NSTimer scheduledTimerWithTimeInterval:interval
repeats:YES block:block];
[[NSNotificationCenter defaultCenter]
postNotificationName:SKPDFViewPacerStartedOrStoppedNotification object:self];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit