Line alignment is a *massive* problem in syntactic diffs. Line-based diffs don't have this problem -- either lines are equal or they aren't.
In this example, it's not clear whether line 11 on the right should align with line 9 or line 10 on the left.
miniblog.
Related Posts
Difftastic 0.67 is released!
* Added support for protobuf, improved bash and YAML.
* Updated 16 parsers to the latest upstream version (thanks Antonin Delpeuch!)
* A ton of display polish for word highlighting, alignment, and binary files.
Showing lines of context is a remarkably hard problem for a syntactic diff.
Line 23 on the right is new, but lines 24 and 25 also map to the same line on the left! Initially I thought this was a bug.
It's impossible to show exactly N context lines whilst preserving alignment.
Difftastic 0.23 is out! I've been tuning diffing and display and I think the results look fantastic.
* Parent delimiters are modelled accurately
* Display uses blank lines as an alignment hint
* Textual diffing is way faster too!








