Revision: 14167
http://sourceforge.net/p/skim-app/code/14167
Author: hofman
Date: 2024-04-03 08:55:23 +0000 (Wed, 03 Apr 2024)
Log Message:
-----------
make sure only one of synctex or pdfsync ivars are set
Modified Paths:
--------------
trunk/SKPDFSynchronizer.m
Modified: trunk/SKPDFSynchronizer.m
===================================================================
--- trunk/SKPDFSynchronizer.m 2024-04-02 14:57:03 UTC (rev 14166)
+++ trunk/SKPDFSynchronizer.m 2024-04-03 08:55:23 UTC (rev 14167)
@@ -213,6 +213,7 @@
- (BOOL)loadPdfsyncFile:(NSString *)theFileName {
pdfsync = [[SKPDFSync alloc] init];
+ synctex = nil;
[self setSyncFileName:theFileName];
@@ -446,6 +447,7 @@
if (synctex) {
const char *fileRep = synctex_scanner_get_synctex([synctex scanner]);
[self setSyncFileName:[self sourceFileForFileName:[NSString
stringWithUTF8String:fileRep] isTeX:NO removeQuotes:NO]];
+ pdfsync = nil;
synctex_node_p node = synctex_scanner_input([synctex scanner]);
do {
if ((fileRep = synctex_scanner_get_name([synctex scanner],
synctex_node_tag(node)))) {
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