Revision: 16253
http://sourceforge.net/p/skim-app/code/16253
Author: hofman
Date: 2026-05-08 16:15:10 +0000 (Fri, 08 May 2026)
Log Message:
-----------
reset highlighted selections with nil
Modified Paths:
--------------
trunk/SKMainWindowController_UI.m
Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m 2026-05-08 16:03:17 UTC (rev 16252)
+++ trunk/SKMainWindowController_UI.m 2026-05-08 16:15:10 UTC (rev 16253)
@@ -1202,8 +1202,12 @@
} else if (mwcFlags.findPaneState == SKFindPaneStateGrouped &&
[leftSideController.groupedFindTableView window]) {
results = [[leftSideController.groupedFindArrayController
selectedObjects] valueForKeyPath:@"@unionOfArrays.matches"];
}
- results = [[NSArray alloc] initWithArray:results copyItems:YES];
- [results setValue:[NSColor findHighlightColor] forKey:@"color"];
+ if ([results count]) {
+ results = [[NSArray alloc] initWithArray:results copyItems:YES];
+ [results setValue:[NSColor findHighlightColor] forKey:@"color"];
+ } else {
+ results = nil;
+ }
[pdfView setHighlightedSelections:results];
}
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