Diff
public class Diff
Field Summary | |
---|---|
mixed | |
mixed | |
mixed |
Method Summary | |
---|---|
void | diffWrap(mixed old, mixed new) |
void | doDiff(mixed old, mixed new) |
void | formatcode(mixed code) |
void | getText(mixed a, mixed b) |
void | inline(mixed old, mixed new, mixed linepadding) |
void | showline(mixed line) |
public mixed $changes = array()
public mixed $diff = array()
public mixed $linepadding = null
public void diffWrap(mixed old, mixed new)
public void doDiff(mixed old, mixed new)
public void formatcode(mixed code)
public void getText(mixed a, mixed b)
public void inline(mixed old, mixed new, mixed linepadding)
public void showline(mixed line)
Ross Scrivener http://scrivna.com PHP file diff implementation Much credit goes to... Paul's Simple Diff Algorithm v 0.1 (C) Paul Butler 2007
May be used and distributed under the zlib/libpng license.
... for the actual diff code, i changed a few things and
implemented a pretty interface to it.
See http://scrivna.com/demos/filediff/code.html.
Only minor changes have been made to fit it in WeakWiki.