Revision: 4845
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4845&view=rev
Author:   hofman
Date:     2008-10-21 18:50:56 +0000 (Tue, 21 Oct 2008)

Log Message:
-----------
don't evaluate scripting selection argument

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

Modified: trunk/SKPDFDocument.m
===================================================================
--- trunk/SKPDFDocument.m       2008-10-21 13:50:59 UTC (rev 4844)
+++ trunk/SKPDFDocument.m       2008-10-21 18:50:56 UTC (rev 4845)
@@ -1996,7 +1996,7 @@
             source = [self fileURL];
         [[self synchronizer] findPageAndLocationForLine:[location index] 
inFile:[[source path] stringByReplacingPathExtension:@"tex"]];
     } else {
-        PDFSelection *selection = [PDFSelection 
selectionWithSpecifier:location];
+        PDFSelection *selection = [PDFSelection 
selectionWithSpecifier:[[command arguments] objectForKey:@"To"]];
         if ([[selection pages] count]) {
             PDFPage *page = [[selection pages] objectAtIndex:0];
             NSRect bounds = [selection boundsForPage:page];


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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to