Revision: 16264
http://sourceforge.net/p/skim-app/code/16264
Author: hofman
Date: 2026-05-09 22:15:16 +0000 (Sat, 09 May 2026)
Log Message:
-----------
ignore moveleft/moveright when no selection
Modified Paths:
--------------
trunk/SKMainWindowController_UI.m
Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m 2026-05-09 21:38:26 UTC (rev 16263)
+++ trunk/SKMainWindowController_UI.m 2026-05-09 22:15:16 UTC (rev 16264)
@@ -769,13 +769,15 @@
- (void)tableViewMoveLeft:(NSTableView *)tv {
if (([tv isEqual:leftSideController.findTableView] || [tv
isEqual:leftSideController.groupedFindTableView])) {
- [self updateSearchResultHighlightsForDirection:NSSelectingPrevious];
+ if ([tv numberOfSelectedRows])
+ [self
updateSearchResultHighlightsForDirection:NSSelectingPrevious];
}
}
- (void)tableViewMoveRight:(NSTableView *)tv {
if (([tv isEqual:leftSideController.findTableView] || [tv
isEqual:leftSideController.groupedFindTableView])) {
- [self updateSearchResultHighlightsForDirection:NSSelectingNext];
+ if ([tv numberOfSelectedRows])
+ [self updateSearchResultHighlightsForDirection:NSSelectingNext];
}
}
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