The difference is made by EDP!

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
MSpagni
Expert Member
Posts: 482
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

The difference is made by EDP!

Post by MSpagni »

I don't know what triggers the effect, but sometimes, if I select "ignore white space" and "word wrap", two lines who differs only in blank space are wrapped differently and then higlighted as different.
For example, try with the attached files.
Attachments
Wrap.zip
(457 Bytes) Downloaded 4 times
JeremyNicoll
Expert Member
Posts: 92
Joined: Sun May 02, 2010 12:00 pm
Location: Edinburgh

Re: The difference is made by EDP!

Post by JeremyNicoll »

One of your test files has spaces and tabs in it and the other just has spaces for indenting.

It seems to me that EDP could either remove the tabs and excess spaces, then wrap the lines OR expand the tabs to some number of spaces, wrap the lines, and then ignore multiple spaces. I'd guess that which non-blank words end up on which lines due to wrap might not be the same in that case.
User avatar
psguru
Site Admin
Posts: 2020
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: The difference is made by EDP!

Post by psguru »

I'll have a look at this next week. Holidays...
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 482
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: The difference is made by EDP!

Post by MSpagni »

psguru wrote: Fri Nov 26, 2021 10:05 am I'll have a look at this next week. Holidays...
I think I can survive... :wink:
Happy holidays!

Good observation, Jeremy.
I assumed I already saved the files with "expand tabs" so I forgot to check.
Thanks.
Post Reply