Revision: 14033
          http://sourceforge.net/p/skim-app/code/14033
Author:   hofman
Date:     2024-02-01 17:13:30 +0000 (Thu, 01 Feb 2024)
Log Message:
-----------
rename local variable to avoid name clash

Modified Paths:
--------------
    trunk/SKTypeSelectHelper.m

Modified: trunk/SKTypeSelectHelper.m
===================================================================
--- trunk/SKTypeSelectHelper.m  2024-02-01 15:53:05 UTC (rev 14032)
+++ trunk/SKTypeSelectHelper.m  2024-02-01 17:13:30 UTC (rev 14033)
@@ -62,7 +62,7 @@
 - (NSArray *)searchCache;
 - (void)searchWithStickyMatch:(BOOL)allowUpdate;
 - (void)stopTimer;
-- (void)startTimerWithBlock:(void (^)(NSTimer *timer))block;
+- (void)startTimerWithBlock:(void (^)(NSTimer *aTimer))block;
 - (void)typeSelectSearchTimeout:(id)sender;
 - (void)typeSelectCleanTimeout:(id)sender;
 - (NSUInteger)indexOfMatchedItemAfterIndex:(NSUInteger)selectedIndex;
@@ -208,7 +208,7 @@
     
     // Reset the timer if it hasn't expired yet
     __weak SKTypeSelectHelper *weakSelf = self;
-    [self startTimerWithBlock:^(NSTimer *timer){ [weakSelf 
typeSelectSearchTimeout:timer]; }];
+    [self startTimerWithBlock:^(NSTimer *aTimer){ [weakSelf 
typeSelectSearchTimeout:aTimer]; }];
     
     if (matchOption != SKFullStringMatch)
         [self searchWithStickyMatch:isProcessing];
@@ -223,7 +223,7 @@
         [self updateSearchString:searchString];
     
     __weak SKTypeSelectHelper *weakSelf = self;
-    [self startTimerWithBlock:^(NSTimer *timer){ [weakSelf 
typeSelectCleanTimeout:timer]; }];
+    [self startTimerWithBlock:^(NSTimer *aTimer){ [weakSelf 
typeSelectCleanTimeout:timer]; }];
     
     isProcessing = NO;
 }
@@ -270,7 +270,7 @@
     timer = nil;
 }
 
-- (void)startTimerWithBlock:(void (^)(NSTimer *timer))block {
+- (void)startTimerWithBlock:(void (^)(NSTimer *aTimer))block {
     [self stopTimer];
     timer = [[NSTimer alloc] initWithFireDate:[NSDate 
dateWithTimeIntervalSinceNow:[self timeoutInterval]] interval:0 repeats:NO 
block:block];
     [[NSRunLoop currentRunLoop] addTimer:timer forMode:NSDefaultRunLoopMode];

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

Reply via email to