Revision: 16244
          http://sourceforge.net/p/skim-app/code/16244
Author:   hofman
Date:     2026-05-07 17:37:53 +0000 (Thu, 07 May 2026)
Log Message:
-----------
rename methods

Modified Paths:
--------------
    trunk/SKMainWindowController.h
    trunk/SKMainWindowController.m
    trunk/SKMainWindowController_Actions.m
    trunk/SKMainWindowController_UI.m

Modified: trunk/SKMainWindowController.h
===================================================================
--- trunk/SKMainWindowController.h      2026-05-07 17:33:53 UTC (rev 16243)
+++ trunk/SKMainWindowController.h      2026-05-07 17:37:53 UTC (rev 16244)
@@ -273,7 +273,7 @@
 
 - (void)showFindBar;
 
-- (void)selectFindResultHighlight:(NSSelectionDirection)direction;
+- (void)selectSearchResultHighlight:(NSSelectionDirection)direction;
 
 - (BOOL)isOutlineExpanded:(PDFOutline *)outline;
 - (void)setExpanded:(BOOL)flag forOutline:(PDFOutline *)outline;

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2026-05-07 17:33:53 UTC (rev 16243)
+++ trunk/SKMainWindowController.m      2026-05-07 17:37:53 UTC (rev 16244)
@@ -209,7 +209,7 @@
 
 - (void)updatePageLabel;
 
-- (void)updateFindResultHighlightsForDirection:(NSSelectionDirection)direction;
+- 
(void)updateSearchResultHighlightsForDirection:(NSSelectionDirection)direction;
 
 - (void)registerForDocumentNotifications;
 - (void)unregisterForDocumentNotifications;
@@ -1365,7 +1365,7 @@
         mwcFlags.findPaneState = newFindPaneState;
         
         [leftSideController displayTableAtIndex:2 + mwcFlags.findPaneState];
-        [self updateFindResultHighlightsForDirection:NSDirectSelection];
+        [self updateSearchResultHighlightsForDirection:NSDirectSelection];
         
     } else if ([self displaysFindPane] == NO) {
         
@@ -1947,13 +1947,13 @@
     }
 }
 
-- (void)selectFindResultHighlight:(NSSelectionDirection)direction {
-    [self updateFindResultHighlightsForDirection:direction];
+- (void)selectSearchResultHighlight:(NSSelectionDirection)direction {
+    [self updateSearchResultHighlightsForDirection:direction];
     if (direction == NSDirectSelection && [self interactionMode] == 
SKPresentationMode && [[NSUserDefaults standardUserDefaults] 
boolForKey:SKAutoHidePresentationContentsKey])
         [self hideSideWindow];
 }
 
-- (void)updateFindResultHighlightsForDirection:(NSSelectionDirection)direction 
{
+- 
(void)updateSearchResultHighlightsForDirection:(NSSelectionDirection)direction {
     NSArray *findResults = nil;
     
     if (mwcFlags.findPaneState == SKFindPaneStateSingular && 
[leftSideController.findTableView window])

Modified: trunk/SKMainWindowController_Actions.m
===================================================================
--- trunk/SKMainWindowController_Actions.m      2026-05-07 17:33:53 UTC (rev 
16243)
+++ trunk/SKMainWindowController_Actions.m      2026-05-07 17:37:53 UTC (rev 
16244)
@@ -250,7 +250,7 @@
 
 - (void)goToSelectedFindResults:(id)sender {
     if ([sender clickedRow] != -1)
-        [self selectFindResultHighlight:NSDirectSelection];
+        [self selectSearchResultHighlight:NSDirectSelection];
 }
 
 - (void)toggleSelectedSnapshots:(id)sender {

Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m   2026-05-07 17:33:53 UTC (rev 16243)
+++ trunk/SKMainWindowController_UI.m   2026-05-07 17:37:53 UTC (rev 16244)
@@ -604,7 +604,7 @@
     } else if ([tv isEqual:leftSideController.findTableView] ||
                [tv isEqual:leftSideController.groupedFindTableView]) {
         if (mwcFlags.updatingFindResults == 0)
-            [self selectFindResultHighlight:NSDirectSelection];
+            [self selectSearchResultHighlight:NSDirectSelection];
     }
 }
 
@@ -767,13 +767,13 @@
 
 - (void)tableViewMoveLeft:(NSTableView *)tv {
     if (([tv isEqual:leftSideController.findTableView] || [tv 
isEqual:leftSideController.groupedFindTableView])) {
-        [self selectFindResultHighlight:NSSelectingPrevious];
+        [self selectSearchResultHighlight:NSSelectingPrevious];
     }
 }
 
 - (void)tableViewMoveRight:(NSTableView *)tv {
     if (([tv isEqual:leftSideController.findTableView] || [tv 
isEqual:leftSideController.groupedFindTableView])) {
-        [self selectFindResultHighlight:NSSelectingNext];
+        [self selectSearchResultHighlight: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

Reply via email to