Revision: 16254
http://sourceforge.net/p/skim-app/code/16254
Author: hofman
Date: 2026-05-08 16:27:38 +0000 (Fri, 08 May 2026)
Log Message:
-----------
only need to reset selection when we selected
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2026-05-08 16:15:10 UTC (rev 16253)
+++ trunk/SKMainWindowController.m 2026-05-08 16:27:38 UTC (rev 16254)
@@ -1999,12 +1999,12 @@
if ([currentSel hasCharacters]) {
[pdfView setCurrentSelection:currentSel animate:YES];
+ if ([pdfView toolMode] != SKToolModeText && [pdfView toolMode] !=
SKToolModeNote)
+ [pdfView setCurrentSelection:nil];
[[statusBar rightField] setStringValue:[NSString
stringWithFormat:NSLocalizedString(@"Match %lu of %lu", @"Status message"),
(unsigned long)[searchResults indexOfObject:currentSel], (unsigned
long)[searchResults count] - 1]];
} else {
[self updateRightStatus];
}
- if ([pdfView toolMode] != SKToolModeText && [pdfView toolMode] !=
SKToolModeNote)
- [pdfView setCurrentSelection:nil];
}
}
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