We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a77282f commit 9ea5343Copy full SHA for 9ea5343
extensions/script-libraries/diff/diff.livecodescript
@@ -122,12 +122,12 @@ A string representing the changes between pFrom and pTo in unified diff format.
122
123
*/
124
125
-function DiffCompareFiles pFrom, pTo
+function DiffCompareFiles pFrom, pTo, pContext
126
// produce file header
127
local tDiff
128
put "--- " & pFrom & tab & udiff_file_timestamp(pFrom) & cr & \
129
"+++ " & pTo & tab & udiff_file_timestamp(pTo) & cr into tDiff
130
- put udiff_strings(url ("file:" & pFrom), url ("file:" & pTo)) after tDiff
+ put DiffCompare(url ("binfile:" & pFrom), url ("binfile:" & pTo), pContext) after tDiff
131
return tDiff
132
end DiffCompareFiles
133
0 commit comments