Prefer somewhat similar old lines to match a new one


When resetboring has more than one (non-trivial) line in the old code
that could be a match to a new line, prefer an exact match if present
or one with the same indent otherwise. It's still crude, but slightly
less so than just taking the first - and marginally reduces noise.

Change-Id: I913fb51363cf81efea37ac0a24c698bfa3572200
Reviewed-by: Daniel Smith <daniel.smith@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
commit1ee5e40d99c872bd6b99c4f9c354b1302cf83044
parent2b7563fc37446adddb61f3be66d504f1dc057243
authorEdward Welbourne <edward.welbourne@qt.io>
committerEdward Welbourne <edward.welbourne@qt.io>
commit timeThu, 21 Mar 2024 13:25:31 +0100