But also something is building this thing: I need to figure that out. Uko
On 09 Oct 2014, at 19:24, Dale Henrichs <dale.henrichs@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 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 <yuriy.tymchuk@me.com <mailto:yuriy.tymchuk@me.com>> wrote: 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.henrichs@gemtalksystems.com <mailto:dale.henrichs@gemtalksystems.com>> wrote:
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.tymchuk@me.com <mailto:yuriy.tymchuk@me.com>> wrote: 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