difflib.js
difflib.js copied to clipboard
Parameter “n” does not pass in
https://github.com/qiao/difflib.js/blob/e11553ba3e303e2db206d04c95f8e51c5692ca28/lib/difflib.js#L1192
Hi, I also noted this issue when trying to use the library. Would be great to have it fixed.
+1
+2
I was able to get correct number of context lines to appear by editing "difflib.js" to just pass along the n param to the internal getGroupedOpcodes calls. However, this exacerbates situation of contextDIff completely missing obvious differences, per Issue #12.