Comparison issue if amount of blanks used for indentation changed

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
User avatar
psguru
Site Admin
Posts: 2292
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Comparison issue if amount of blanks used for indentation changed

Post by psguru »

Maybe but we have to think about consequences. We'll give it a thought.
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 581
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: Comparison issue if amount of blanks used for indentation changed

Post by MSpagni »

Just to avoid misunderstandings: I mean "adding the possibility", not "replacing the actual". :wink:
pref
New Member
Posts: 6
Joined: Thu Jan 10, 2019 3:17 am

Re: Comparison issue if amount of blanks used for indentation changed

Post by pref »

psguru wrote: Sun Feb 24, 2019 3:43 pm Matching in EDPro is based on exact equality of lines, after applying all Ignore options (I still don't understand why you can't ignore white space).
When comparing files, KDiff3 first it tries to match lines that are equal in all input files. Only during this step it might ignore white space. The second step compares each line. In this step white space will not be ignored. Also during the merge white space will not be ignored.
That's is exactly the key point in KDiff3 - a sort of 2-pass-diff - which, in not such an uncommon case of changes in spacing (e.g. indendation or format changes), delivers more accurate results than the "fuzzy matching" stuff in ExamDiff Pro.

> I still don't understand why you can't ignore white space

Since highlighting the changes both in spacing and in words (or characters) - while still correctly matching the lines in all input files - is exactly what I'd like to see on the result screen.
psguru wrote: Mon Feb 25, 2019 1:02 pm Maybe but we have to think about consequences. We'll give it a thought.
MSpagni wrote: Mon Feb 25, 2019 1:06 pm Just to avoid misunderstandings: I mean "adding the possibility", not "replacing the actual".
Yes, by adding the possibility to choose from e.g. a "standard line matching (edp)" and a "2-pass line matching (KDiff3 style)".

@psguru
Does it make sense to you, do you think it can be introduced in ExamDiff (Pro)?

Cheerz
User avatar
psguru
Site Admin
Posts: 2292
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Comparison issue if amount of blanks used for indentation changed

Post by psguru »

@psguru
Does it make sense to you, do you think it can be introduced in ExamDiff (Pro)?
It's in the backlog but nothing concrete is being discussed yet.
psguru
PrestoSoft
User avatar
psguru
Site Admin
Posts: 2292
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Comparison issue if amount of blanks used for indentation changed

Post by psguru »

BTW, still didn't get an answer: why can't you just ignore white space? That's the normal workflow of the application.
psguru
PrestoSoft
pref
New Member
Posts: 6
Joined: Thu Jan 10, 2019 3:17 am

Re: Comparison issue if amount of blanks used for indentation changed

Post by pref »

psguru wrote: Thu Apr 11, 2019 4:01 pm BTW, still didn't get an answer: why can't you just ignore white space? That's the normal workflow of the application.
huh? I've explicitly answered exactly this question in my previous post.
Post Reply