Revision: 14177
          http://sourceforge.net/p/skim-app/code/14177
Author:   hofman
Date:     2024-04-04 21:35:52 +0000 (Thu, 04 Apr 2024)
Log Message:
-----------
use source files dictionary to get full file name

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

Modified: trunk/SKPDFSynchronizer.m
===================================================================
--- trunk/SKPDFSynchronizer.m   2024-04-04 16:22:07 UTC (rev 14176)
+++ trunk/SKPDFSynchronizer.m   2024-04-04 21:35:52 UTC (rev 14177)
@@ -225,7 +225,7 @@
             BOOL success = [parser findFileLine:&foundLine file:&foundFile 
forLocation:point inRect:rect pageBounds:bounds atPageIndex:pageIndex];
             
             if (success && atomic_load(&shouldKeepRunning)) {
-                foundFile = [self sourceFileForFileName:foundFile isTeX:YES];
+                foundFile = [[sourceFileNames allKeysForObject:foundFile] 
firstObject] ?: [self sourceFileForFileName:foundFile isTeX:YES];
                 dispatch_async(dispatch_get_main_queue(), ^{
                     [delegate synchronizerFoundLine:foundLine 
inFile:foundFile];
                 });

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