Closed
Description
Hi, I tried doing Diff.createTwoFilesPatch('c.txt', 'd.txt', c, d, {newlineIsToken: true, ignoreWhitespace: true, context: Number.MAX_SAFE_INTEGER})
where c.txt
and d.txt
contain 10 lines in each file. There is only one line of difference between the two files but I want to show all remaining unchanged text as well. But right now, it will only return the first five lines (@@ -1,5 +1,5 @@
) no matter what i set the context
option to (eg I tried doing context:50
). Is the context function working?