Revision: 7131
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7131&view=rev
Author:   hofman
Date:     2011-02-27 11:18:37 +0000 (Sun, 27 Feb 2011)

Log Message:
-----------
make sure the line argument in displayline script is passed as an integer

Modified Paths:
--------------
    trunk/displayline

Modified: trunk/displayline
===================================================================
--- trunk/displayline   2011-02-26 12:04:07 UTC (rev 7130)
+++ trunk/displayline   2011-02-27 11:18:37 UTC (rev 7131)
@@ -45,6 +45,7 @@
   -e "set theFile to POSIX file theFile" \
   -e "set theSource to POSIX file theSource" \
   -e "set thePath to POSIX path of (theFile as alias)" \
+  -e "set theLine to $line as integer" \
   -e "tell application \"Skim\"" \
   -e "  if $activate then activate" \
   -e "  if $revert then" \
@@ -54,5 +55,5 @@
   -e "    end try" \
   -e "  end if" \
   -e "  open theFile" \
-  -e "  tell front document to go to TeX line $line from theSource showing 
reading bar $bar" \
+  -e "  tell front document to go to TeX line theLine from theSource showing 
reading bar $bar" \
   -e "end tell" -


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

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to