Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Version 1.0

Compare
Choose a tag to compare
@fredemmott fredemmott released this 25 Sep 15:57

This release:

  • fixes a bug in colored diffs with intra-line edits where the first content character could be stripped
  • makes unified diffs more closely match diff output
  • switches intraline colored diffs to be word-based instead of character-based, as this usually seems better for readability.

We aim to introduce support for parsing diffs created by tools such as diff, git, and hg in a future release.

Intraline-diffs: character vs words

This is a standard line diff:

- Foo Framework Bar
+ Foo Facebook Bar

as a character diff:

 F
 o
 o
 
 F
-r
 a
-m
+c
 e
-w
+b
 o
-r
+o
 k
 
 B
 a
 r

as a word diff:

 Foo
-Framework
+Facebook
 Bar