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 <[email protected]> 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 <[email protected]>
> 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 <[email protected]>
> 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
>>
>
>
>

Reply via email to