Revision: 16252
          http://sourceforge.net/p/skim-app/code/16252
Author:   hofman
Date:     2026-05-08 16:03:17 +0000 (Fri, 08 May 2026)
Log Message:
-----------
move method implementations

Modified Paths:
--------------
    trunk/SKMainWindowController.m

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2026-05-08 14:48:06 UTC (rev 16251)
+++ trunk/SKMainWindowController.m      2026-05-08 16:03:17 UTC (rev 16252)
@@ -1773,23 +1773,6 @@
 
 #pragma mark Searching
 
-- (NSString *)searchString {
-    return [leftSideController.searchField stringValue];
-}
-
-- (void)setSearchString:(NSString *)searchString {
-    if ([searchString length] > 0) {
-        if ([self hasOverview])
-            [self hideOverviewAnimating:NO];
-        [[[splitViewController splitViewItems] firstObject] setCollapsed:NO];
-        [leftSideController.searchField setStringValue:searchString];
-        [self performSelector:@selector(search:) 
withObject:leftSideController.searchField afterDelay:0.0];
-    } else {
-        [leftSideController.searchField setStringValue:@""];
-        [self search:leftSideController.searchField];
-    }
-}
-
 - (BOOL)findString:(NSString *)string forward:(BOOL)forward {
     PDFDocument *pdfDoc = [pdfView document];
     if ([pdfDoc isFinding]) {
@@ -1947,6 +1930,23 @@
     }
 }
 
+- (NSString *)searchString {
+    return [leftSideController.searchField stringValue];
+}
+
+- (void)setSearchString:(NSString *)searchString {
+    if ([searchString length] > 0) {
+        if ([self hasOverview])
+            [self hideOverviewAnimating:NO];
+        [[[splitViewController splitViewItems] firstObject] setCollapsed:NO];
+        [leftSideController.searchField setStringValue:searchString];
+        [self performSelector:@selector(search:) 
withObject:leftSideController.searchField afterDelay:0.0];
+    } else {
+        [leftSideController.searchField setStringValue:@""];
+        [self search:leftSideController.searchField];
+    }
+}
+
 - 
(void)updateSearchResultHighlightsForDirection:(NSSelectionDirection)direction {
     NSArray *findResults = 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

Reply via email to