WinMerge / winmerge

WinMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both folders and files, presenting differences in a visual text format that is easy to understand and handle.
https://winmerge.org/
GNU General Public License v2.0
6.07k stars 775 forks source link

Issue: Align similar lines #2287

Open rxa1031 opened 2 months ago

rxa1031 commented 2 months ago

Hi,

I observe either the middle file or the right side file lines not aligning correctly. Example: image

I am currently suing version 2.16.38.0 x64

I've tried different algorithms, but there is no change. No difference when compare white spaces and ignore blank lines check boxes are checked or unchecked.

The current settings are: image

The third party source code is confidential and hence unable to share files.

Please suggest a fix.

Thanks, Rajeev

rxa1031 commented 2 months ago

Also unaware of why spaces and tabs are highlighted when they are ignored: image

sdottaka commented 2 months ago

I can reproduce the second one, but not the first one. It would be helpful if you could create a reproducible example and attach it as a file.

image