difflib.js icon indicating copy to clipboard operation
difflib.js copied to clipboard

Parameter “n” does not pass in

Open sadcity opened this issue 6 years ago • 3 comments

https://github.com/qiao/difflib.js/blob/e11553ba3e303e2db206d04c95f8e51c5692ca28/lib/difflib.js#L1192

sadcity avatar Apr 27 '18 08:04 sadcity

Hi, I also noted this issue when trying to use the library. Would be great to have it fixed.

GFibrizo avatar Apr 26 '19 20:04 GFibrizo

+1

IceMimosa avatar Jul 18 '19 07:07 IceMimosa

+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.

unsaved avatar Oct 18 '21 16:10 unsaved