dtl icon indicating copy to clipboard operation
dtl copied to clipboard

Made DTL_SEPARATE_SIZE and DTL_CONTEXT_SIZE dynamic.

Open wingunder opened this issue 5 years ago • 1 comments

This patch replaces the DTL_SEPARATE_SIZE and DTL_CONTEXT_SIZE constants. The API however stays backwards compatible. The user now has the option to set the separateSize amd contextSize, when calling composeUnifiedHunks().

eg. diff.composeUnifiedHunks(20, 5);

wingunder avatar Oct 11 '19 20:10 wingunder

Can we merge this PR? I think this is useful feature.

yohooyohoo avatar Jul 12 '22 18:07 yohooyohoo