Permalink
Browse files

hi, not sure if some of you remember me .. i did some bundle stuff ab…

…out a year ago .. and i am back again. :)

DIFF:
here is just a minor patch for 'Diff Document With Saved Copy' command, now you can diff a document which has windows line endings (\r\n) against the changes you made.

(it was a bit awkward when i tried to show a friend how great TM is by demonstrating diff and nothing happend. so i had to fix his :D )

RUBY:
just made the 'Execute Line / Selection as Ruby' thing work with the 10.3 ruby-1.6 (just added parenthesis to the print statement)



git-svn-id: http://svn.textmate.org/trunk/Bundles/Diff.tmbundle@4024 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent 478dff7 commit e14488284e4b70f4c8af3ea1b8443f1b53ee614b @torsten torsten committed Jul 6, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 Commands/Diff With File on Disk.plist
@@ -6,7 +6,7 @@
<string>nop</string>
<key>command</key>
<string>if [[ -e "$TM_FILEPATH" ]]
- then diff -u "$TM_FILEPATH" -
+ then diff -u &lt;(cat "$TM_FILEPATH" | tr -d '\r') -
else exit_show_tool_tip "There's no file on disk"
fi</string>
<key>input</key>

0 comments on commit e144882

Please sign in to comment.