On 7/31/26 6:16 AM, Pavel Sanda wrote:
On Wed, Jul 29, 2026 at 11:27:40AM -0400, Richard Kimberly Heck wrote:
If it weren't too difficult, a preference setting for word-only diffs might
be welcome. That would speed things up a ton.
Right, at the same time, while chasing the littering in the result can be
written as small surgical touch - the heavy lifting is really to get the
heuristics right conceptually, not the code - the shift to word-based diff will
be somewhat massive :/
I am coming to appreciate that. But I also appreciate your attempting
this. I've tried to use the compare function, and it's...not terribly
useful in its current form.
Anyway, we are not there yet, as Vincent rightly pointed out in the bug, the
same problem re-occurs on the word-level, I spent some time playing with
examples to nail down the rules for word-based spillover. Below is the attempt
for word-level heuristics.
Diff algorithms are a total mystery to me. But this sounds plausible.
Riki
--
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel