Revision: 3948
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3948&view=rev
Author:   hofman
Date:     2008-06-01 05:55:53 -0700 (Sun, 01 Jun 2008)

Log Message:
-----------
Only highlight first search result, as highlighting all matches on a page does 
not look nice. Fix binding of grouped find table view for double-click argument 
and selectionIndexes.

Modified Paths:
--------------
    trunk/English.lproj/MainWindow.nib/info.nib
    trunk/English.lproj/MainWindow.nib/keyedobjects.nib
    trunk/SKMainWindowController.m

Modified: trunk/English.lproj/MainWindow.nib/info.nib
===================================================================
--- trunk/English.lproj/MainWindow.nib/info.nib 2008-06-01 12:27:48 UTC (rev 
3947)
+++ trunk/English.lproj/MainWindow.nib/info.nib 2008-06-01 12:55:53 UTC (rev 
3948)
@@ -37,13 +37,15 @@
        <array/>
        <key>IBOpenObjects</key>
        <array>
+               <integer>168</integer>
+               <integer>224</integer>
+               <integer>942</integer>
+               <integer>796</integer>
                <integer>694</integer>
                <integer>830</integer>
                <integer>687</integer>
-               <integer>942</integer>
-               <integer>168</integer>
        </array>
        <key>IBSystem Version</key>
-       <string>9C7010</string>
+       <string>9D34</string>
 </dict>
 </plist>

Modified: trunk/English.lproj/MainWindow.nib/keyedobjects.nib
===================================================================
(Binary files differ)

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2008-06-01 12:27:48 UTC (rev 3947)
+++ trunk/SKMainWindowController.m      2008-06-01 12:55:53 UTC (rev 3948)
@@ -2907,7 +2907,9 @@
     [self removeTemporaryAnnotations];
     
     // add an annotation so it's easier to see the search result
-    if (highlight)
+    if (canAnimate)
+        [pdfView setCurrentSelection:currentSel animate:YES];
+    else if (highlight)
         [self addAnnotationsForSelection:currentSel];
     
     while (sel = [selE nextObject]) {
@@ -2916,10 +2918,7 @@
             [self addAnnotationsForSelection:sel];
     }
     
-    if (canAnimate)
-        [pdfView setCurrentSelection:currentSel animate:YES];
-    else
-        [pdfView setCurrentSelection:currentSel];
+    [pdfView setCurrentSelection:currentSel];
 }
 
 - (void)goToFindResults:(NSArray *)findResults {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to