I'm experimenting with a patch-style display format for difftastic.
What do you think? Do the colours work? What about the last example, where there's only whitespace changes and the syntactic diff has nothing to highlight?
I've been experimenting with supporting the unified diff format in difftastic. This is a single column format ('inline') with @@ markers.
What do you think? This format doesn't scale well to larger changes, but it's super familiar and works with other tools.
It's amazingly awkward to print a syntactic diff correctly. Even the lines before and after the changes may not line up, if whitespace has changed!
Difftastic now inserts blank lines to help things line up. I'm reasonably happy with the result here.
Diffing comments is really hard in a syntactic diff tool like difftastic. I was already making changed words bold, but it's harder to spot.
I've started experimenting with underlines to make the specific words more prominent. What do you think?