Code: Select all
xxx
aaa xxx
Code: Select all
aaa yyy
FYI If I remove the carriage return in the first file and have just one long string on a single line ("xxx aaa xxx") then compare works OK.
Moderators: white, Hacker, petermad, Stefan2
Code: Select all
xxx
aaa xxx
Code: Select all
aaa yyy
File1.txt wrote:nothing here
xxx
aaa xxx
foobar
Then select line 3 of File1, and line 2 of File2. Right Click and Resync Comparison... You will force the Compare to start from those lines, and will see the difference is the xxx/yyy piece.File2.txt wrote:nothing here
aaa yyy
foobar
Code: Select all
Spanner in the works.
This line is almost identical in both files.
Code: Select all
This line is almost identical in both files
You are right, I just installed winmerge and it has the same problem.Sir_SiLvA wrote:this is not only TC behavior but other compare tools like winmerge do it the same way.
More specifically you said (and I'm sorry I missed it)Balderstrom wrote:As I mentioned, it is a LINE compare.
If you remove the carriage-return, then the two files each have one line, and the difference between the two will be "Spanner in the works."
So to improve matters it seems like the whole algorithm would need to be changed (perhaps making it too slow). Fair enough. Thanks for explaining. Maybe this thread needs to be moved to the sub-forum called "TC7.56a Behaviour which will not be changed"?Balderstrom wrote:When the line count of a file is not the same, they will look for lines that are exact matches, and show/output the lines that are different.