Incorrect line mapping throws off relevant diffs
Hello Meld Team,
I've noticed in some places meld incorrectly maps for corresponding lines across files in comparison. Some findings -
- when a line has an indentation in front, it mistakes for a entirely new line (ref in screenshot1- local required_env and for loop)
- some sections are actually deleted and new ones introduced, and to shown same way rather than indicated as it was updated with new code (as its confusing to read sometimes. ref in screenshot2- environment, application variable setting.)
System setting : Meld version - 3.20.2 (installed via apt repository) Linux Mint - Mate 20 kernel - 5.4.0-84-generic
How to reproduce : downloaded these two files locally 1 - https://raw.githubusercontent.com/dmlond/how_to_bats/preBats/build.sh 2 - https://raw.githubusercontent.com/dmlond/how_to_bats/master/bin/build.sh
$ meld <1_file> <2_file>
Screenshots : 2 screen shots attached for the points mentioned above