comments sometimes not marked as ignored

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
MudGuard
Expert Member
Posts: 69
Joined: Mon Jun 07, 2004 12:42 am

comments sometimes not marked as ignored

Post by MudGuard »

I found a small bug in Examdiff.
It has to do with "Ignore comments".

Sometimes, of a multiline comment, only the last line is marked as ignored.
I tried to build a very small test case where the effect is visible.

Comparing

Code: Select all

1test
/*
2test
*/
3test
to

Code: Select all

test1
will show only the */ marked as ignored, the lines containing /* and 2test are only marked as changed.

removing either the line containing 1test or 3test will have the effect that the whole comment is marked as ignored.

I got version 3.4 this morning (Build 01.02.2006 03:39:05)

It does not depend on the */ being at the beginning of the line.
If the /* is not at the beginning of the line, the first line is marked as ignored as well, but not the lines in between ...


(not a critical bug, just a bit confusing ...)
User avatar
psguru
Site Admin
Posts: 2232
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post by psguru »

Yes, it's a bug. EDP, trying to be smart, wanted to not use the Ignored color if ignored text belongs to a diff block (like in your case). It failed, however, for the */ line.

The latest build of 3.4 has a fix as well as a new option: Options | Misc | "Use Ignored color in diff block" that control this behavior.
psguru
PrestoSoft
MudGuard
Expert Member
Posts: 69
Joined: Mon Jun 07, 2004 12:42 am

Post by MudGuard »

Sorry for the late answer, was away for a very long weekend ...

Will try the latest build tomorrow
MudGuard
Expert Member
Posts: 69
Joined: Mon Jun 07, 2004 12:42 am

Post by MudGuard »

Ok, it works as expected now!
Thanks for the quick fix!
Post Reply