Re: [Pharo-dev] Building diffs

2014-10-10 Thread Yuriy Tymchuk
But also something is building this thing: I need to figure that out. Uko On 09 Oct 2014, at 19:24, Dale Henrichs dale.henri...@gemtalksystems.com wrote: Yuriy, In that case, I'd be inclined to strip the leading whitespace off of the lines and do the diff ... TextDiffBuilder could

Re: [Pharo-dev] Building diffs

2014-10-10 Thread Marcus Denker
On 10 Oct 2014, at 10:26, Yuriy Tymchuk yuriy.tymc...@me.com wrote: But also something is building this thing: 5437978fac2a4954c1354f1f-5437978fac2a4954c1354f20.png I need to figure that out. This is all in Polymorph-Tools-Diff It would be nice to merge the two diff packages... Uko

[Pharo-dev] Building diffs

2014-10-09 Thread Yuriy Tymchuk
Hi, What is the best way to find a difference between methods? I’ve tried to use TextDiffBuilder, but it’s very inaccurate, as it reports dive by line, and then even indentation is rated as change of whole line. Is there anything better? Cheers! Uko

Re: [Pharo-dev] Building diffs

2014-10-09 Thread Dale Henrichs
Yuriy, For tODE is use TextDiffBuilder, but I format the source before doing the diff ... it's still line by line, but formatting differences are eliminated ... Dale On Thu, Oct 9, 2014 at 2:34 AM, Yuriy Tymchuk yuriy.tymc...@me.com wrote: Hi, What is the best way to find a difference

Re: [Pharo-dev] Building diffs

2014-10-09 Thread Yuriy Tymchuk
Yes, I’ve tried to use pretty printed version, the problem is that if you wrap something in a block, then it’s indented anyway, and so it looks like you’ve replaced a lot. Uko On 09 Oct 2014, at 18:39, Dale Henrichs dale.henri...@gemtalksystems.com wrote: Yuriy, For tODE is use

Re: [Pharo-dev] Building diffs

2014-10-09 Thread Dale Henrichs
Yuriy, In that case, I'd be inclined to strip the leading whitespace off of the lines and do the diff ... TextDiffBuilder could probably be subclassed/extended to remove leading whitespace for diff and then restore the whitespace for diff ... Dale On Thu, Oct 9, 2014 at 10:19 AM, Yuriy Tymchuk