Revision: 5505
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5505&view=rev
Author:   hofman
Date:     2009-07-21 23:19:03 +0000 (Tue, 21 Jul 2009)

Log Message:
-----------
only set selection from synctex when text selections are supported

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2009-07-21 21:58:23 UTC (rev 5504)
+++ trunk/SKPDFView.m   2009-07-21 23:19:03 UTC (rev 5505)
@@ -2286,7 +2286,7 @@
         PDFSelection *sel = [page selectionForLineAtPoint:point];
         NSRect rect = sel ? [sel boundsForPage:page] : 
SKRectFromCenterAndSize(point, SKMakeSquareSize(10.0));
         
-        if (sel)
+        if (sel && interactionMode != SKPresentationMode && ([self toolMode] 
== SKTextToolMode || [self toolMode] == SKNoteToolMode))
             [self setCurrentSelection:sel];
         [self scrollRect:rect inPageToVisible:page];
     }


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