diff
mtwin.text.Diff
Generates and manipulates text diffs.
The diff string format is the same as the gnu diff and patch utilities format.
Usage
var diff = mtwin.text.Diff.diff(sourceString, destinationString); var patched = mtwin.text.Diff.patch(sourceString, diff); // patched == destinationString var unpatched = mtwin.text.Diff.unpatch(patched, diff); // unpatched == sourceString
version #4131, modified 2008-08-29 01:38:47 by baurel