comments sometimes not marked as ignored
Posted: Wed Feb 01, 2006 7:34 am
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 to 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 ...)
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
Code: Select all
test1
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 ...)