Revision: 9224 http://sourceforge.net/p/skim-app/code/9224 Author: hofman Date: 2017-01-28 21:50:53 +0000 (Sat, 28 Jan 2017) Log Message: ----------- Do pdf search in the background again, as this seems to be fixed in 10.12.3
Modified Paths: -------------- trunk/SKMainWindowController_Actions.m Modified: trunk/SKMainWindowController_Actions.m =================================================================== --- trunk/SKMainWindowController_Actions.m 2017-01-28 21:40:35 UTC (rev 9223) +++ trunk/SKMainWindowController_Actions.m 2017-01-28 21:50:53 UTC (rev 9224) @@ -742,15 +742,9 @@ } [scanner scanCharactersFromSet:[NSCharacterSet whitespaceCharacterSet] intoString:NULL]; } - if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_11) - searchStrings = words; - else - [pdfDoc beginFindStrings:words withOptions:options]; + [pdfDoc beginFindStrings:words withOptions:options]; } else { - if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_11) - searchStrings = [NSArray arrayWithObject:[sender stringValue]]; - else - [pdfDoc beginFindString:[sender stringValue] withOptions:options]; + [pdfDoc beginFindString:[sender stringValue] withOptions:options]; } if (mwcFlags.findPaneState == SKSingularFindPaneState) [self displayFindViewAnimating:YES]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit