differ icon indicating copy to clipboard operation
differ copied to clipboard

Add patch format.

Open hoverlover opened this issue 12 years ago • 2 comments

This commit adds a patch format similar to diff:

<?xml version="1.0" encoding="UTF-8"?>
<foo>
-  <bar>one</bar>
+  <bar>two</bar>
</foo>

Just need to set Differ.format = :patch.

hoverlover avatar Jul 21 '12 14:07 hoverlover

This looks just great, although without the console colors, it would be even better ;)

echarp avatar Oct 26 '14 15:10 echarp

I actually like the console colors, and think they are helpful. With a simple example like above, it doesn't really matter. But when you have a long many lines of text and they are littered with changes, the colors really help make the additions and deletions stand out.

hoverlover avatar Oct 27 '14 21:10 hoverlover