Revision: 3488
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3488&view=rev
Author:   hofman
Date:     2008-03-15 11:13:35 -0700 (Sat, 15 Mar 2008)

Log Message:
-----------
Scroll to note using command-arrow in note table.

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2008-03-15 14:38:12 UTC (rev 3487)
+++ trunk/SKMainWindowController.m      2008-03-15 18:13:35 UTC (rev 3488)
@@ -4097,8 +4097,10 @@
 
 - (void)outlineViewCommandKeyPressedDuringNavigation:(NSOutlineView *)ov {
     PDFAnnotation *annotation = [[self selectedNotes] lastObject];
-    if (annotation)
+    if (annotation) {
+        [pdfView scrollAnnotationToVisible:annotation];
         [pdfView setActiveAnnotation:annotation];
+    }
 }
 
 #pragma mark NSTableView delegate protocol


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