kpdecker / jsdiff

A javascript text differencing implementation.
BSD 3-Clause "New" or "Revised" License
7.75k stars 491 forks source link

Prefer to order deletions before insertions when the edit cost is the same, like the Myers diff paper does #439

Closed ExplodingCabbage closed 7 months ago

ExplodingCabbage commented 7 months ago

Resolves https://github.com/kpdecker/jsdiff/issues/160 (and the TODO I added in https://github.com/kpdecker/jsdiff/pull/440).