I have three attachments to include with this post. I am diffing two versions of a source file. It appears to me that the text in lines 85-91 on the left should match with lines 90-97 on the right. They instead are matching with lines 112-121. I don't understand why. [//M:/temp/prestosoft/examdiffscreen.jpg]
Configuration Options are [//m:/temp/prestosoft/options_compare.jpg] fuzzy line matching is turned on. I am trying to use Img to attach a couple of images.
Need guidance on match problem.
Re: Need guidance on match problem.
The attachments didn't come through. Could you try and attach your files again?
psguru
PrestoSoft
PrestoSoft
Re: Need guidance on match problem.
I will try to attach again.
Attachment 1 (named ExamDiffScreen) shows a page of the left and right images of a comparison. I expected that left lines 85-91 would have aligned with 90-97 on the right. To help with diagnosis I will attach a couple of settings screens.
Attachment 1 (named ExamDiffScreen) shows a page of the left and right images of a comparison. I expected that left lines 85-91 would have aligned with 90-97 on the right. To help with diagnosis I will attach a couple of settings screens.
Re: Need guidance on match problem.
ExamDiff Pro's comparison algorithm cannot guarantee that a diff block will be matched to its first instance in the other file. If you wish line 85 on the left to match line 90 on the right, you can use manual synchronization: click the left side of the center splitter at line 85 and drag a link to the right side of the splitter at line 90, then re-compare.
psguru
PrestoSoft
PrestoSoft
Re: Need guidance on match problem.
Thank you, your response is quite helpful. I really don't understand the algorithm. Matching is not my long suit. I expected where there are actually more lines that match in a block that the first occurrence would have been selected. At the second occurrence the two lines that start *pSpaceUsed don't match, where above the match continues the the three additional lines curly brace, return new; and curly brace. I didn't know about manually synchronization. That does allow me to change the match to what I perceive it should be. That is useful and very powerful.