Revision: 3016
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3016&view=rev
Author:   hofman
Date:     2007-10-03 13:20:15 -0700 (Wed, 03 Oct 2007)

Log Message:
-----------
Make displayline script a bit more readable.

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

Modified: trunk/displayline
===================================================================
--- trunk/displayline   2007-10-03 17:46:58 UTC (rev 3015)
+++ trunk/displayline   2007-10-03 20:20:15 UTC (rev 3016)
@@ -23,11 +23,14 @@
 # pass through cat to get them as raw bytes to preserve non-ASCII characters
 echo -ne "${line}\x00${file}\x00${source}" | \
 /usr/bin/osascript \
--e "set argv to do shell script \"/bin/cat\"" \
--e "set AppleScript's text item delimiters to ASCII character 0" \
--e "set {theLine, theFile, theSource} to text items of argv" \
--e "tell application \"Skim\"" \
--e "activate" \
--e "open (my POSIX file theFile)" \
--e "tell front document to go to TeX line (theLine as integer) from (my POSIX 
file theSource)" \
--e "end tell" --
+  -e "set theArgv to do shell script \"/bin/cat\"" \
+  -e "set AppleScript's text item delimiters to ASCII character 0" \
+  -e "set {theLine, theFile, theSource} to text items of theArgv" \
+  -e "set theLine to theLine as integer" \
+  -e "set theFile to POSIX file theFile" \
+  -e "set theSource to POSIX file theSource" \
+  -e "tell application \"Skim\"" \
+  -e "  activate" \
+  -e "  open theFile" \
+  -e "  tell front document to go to TeX line theLine from theSource" \
+  -e "end tell" -


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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to