Ignore Comments in ver 3.4 doesn't work

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
stevenpph
New Member
Posts: 3
Joined: Mon Oct 17, 2005 7:13 pm

Ignore Comments in ver 3.4 doesn't work

Post by stevenpph »

I just installed ver 3.4 and tried enabling "Ignore Comments". I left everything else with the default setting (which means all other check boxes are checked). Now when I compare two directories that contain .h and .cpp files, examdiff crashes (stops responding). If I restart examdiff and uncheck "compare .h, .c files", it will make it thru the directory comparison. But if I now select a .h file pair, the diff results are incorrect. It looks like almost any file with 'double slash' comments will work as an example. Just make two files that contain maybe 10 lines - all comment lines starting with double slashes. Do a comparison with and without "Ignore Comments" checked.
User avatar
psguru
Site Admin
Posts: 2232
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post by psguru »

Have you tried the 10/17 build?
psguru
PrestoSoft
Kubus
New Member
Posts: 2
Joined: Mon Feb 12, 2007 7:35 am
Location: Germany

3.4 + 3.5b "ignore comments" don't work over multi

Post by Kubus »

I've tried ver 3.2 with ignore
Lines matching regulare expression: /\*.*?\*/
and in ver 3.4 and 3.5 beta with c comments. But the it don't work over multiple lines.
I have two simple files

1. file:
/*
1
*/

2. file:
/*
2
*/

if i compare a single line "/*1*/" to "/*2*/" it works.
User avatar
psguru
Site Admin
Posts: 2232
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post by psguru »

Works for me in 3.4 and 3.5. Are you sure that your file extension match the ones in the Options | Compare | Ignore Comments?
psguru
PrestoSoft
Kubus
New Member
Posts: 2
Joined: Mon Feb 12, 2007 7:35 am
Location: Germany

upps

Post by Kubus »

:? OK, my fault. I was thinking that the filter works for all extensions.
Post Reply