Compare contents - highlighted as different parts which are not different

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Damel
Member
Member
Posts: 130
Joined: 2003-02-06, 01:11 UTC
Location: Prague, Czech Republic

Compare contents - highlighted as different parts which are not different

Post by *Damel »

Image: https://i.ibb.co/DgWkbdJ/Compare-content.png

Please, why is part ".B" highlighted as different when this part of the line is the same in both compared files?
Even after editing Sync:3 method.

Ad the 3rd part of the picture:
After ticking [ON] the "Show only differences, with extra lines", the right side becomes 'selected' and the is no way to unselect it back (except by jumping into the Edit mode and back).
The best solution:
1. format C:
2. install TotalCmd
3. install Windows (optionally)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Compare contents - highlighted as different parts which are not different

Post by *ghisler(Author) »

It's described in the help:
if there was a difference, a search was made for at least 3 matching characters
A.B and D.B would not match the .B because it is too short.
A.BB and D.BB would match the .BB because it's 3 characters long.

This is done to better find inserted/deleted words instead of just characters.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Compare contents - highlighted as different parts which are not different

Post by *ghisler(Author) »

Moderator message

Moved to "will not be changed"
Author of Total Commander
https://www.ghisler.com
Post Reply