Revision: 9111
          http://sourceforge.net/p/skim-app/code/9111
Author:   hofman
Date:     2016-09-18 09:25:58 +0000 (Sun, 18 Sep 2016)
Log Message:
-----------
use documentDidFindMatch instead of didMatchString delegate method, because I 
think the latter is not called anymore on 10.12

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2016-09-10 12:44:42 UTC (rev 9110)
+++ trunk/SKMainWindowController.m      2016-09-18 09:25:58 UTC (rev 9111)
@@ -1932,7 +1932,9 @@
 
 #pragma mark PDFDocument delegate
 
-- (void)didMatchString:(PDFSelection *)instance {
+- (void)documentDidFindMatch:(NSNotification *)note {
+    PDFSelection *instance = [[note userInfo] 
objectForKey:@"PDFDocumentFoundSelection"];
+    
     if (mwcFlags.wholeWordSearch) {
         PDFSelection *copy = [[instance copy] autorelease];
         NSString *string = [instance string];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to