Michael Carman wrote: > From: [EMAIL PROTECTED] >> >> colourised diff's between what you code originally looked like and >> how Perltidy formatted it would be a great addition, but I haven't >> a clue how to do it. > > Use Algorithm::Diff::sdiff() to calculate the differences, then parse the > output to convert it into tagged text when adding it to the Tk::Text widgets. > > Coding this is simple. Determining what constitutes a difference and how it > should be displayed is the hard part.
I'd look at meld (http://meld.sourceforge.net/). Maybe some ideas or code could be borrowed. -- Michael Peters Developer Plus Three, LP