Page 1 of 1

Compare files by content: show in-line differences (char-wise)

Posted: 2018-10-24, 13:28 UTC
by Zizzy
Hello :D

In largest files, the character that causes difference may not be visible.
It would be useful to have a function that shows you the next different char within the same line.

Sorry for my english, I'm italian... :D

Re: Compare files by content: show in-line differences (char-wise)

Posted: 2018-11-01, 22:49 UTC
by foersom
Zizzy wrote: 2018-10-24, 13:28 UTC In largest files, the character that causes difference may not be visible.
I think you do not mean large files, but rather files with long line lengths, i.e. the text is wide (IT: largo?).

It is true that compare by content will find the lines with difference. It will show the beginning of the line but it will not side scroll if difference is far into a long line. You have to do that manually and look for the difference in red.

It would be a good feature if "Next difference" and "Previous difference" would also jump to difference (cursor marking) and indeed side scroll if outside view.

The problem is what to do when it is not just one word that are different, but perhaps several separate words or several individual letters that are different. Should "Next difference" and "Previous difference" jump to each case? Or only to the first case of a difference on a line?

P.S. I do not speak Italian, I only understand Italian by extrapolating from French.

Re: Compare files by content: show in-line differences (char-wise)

Posted: 2018-11-03, 16:36 UTC
by petermad
You have to do that manually and look for the difference in red.
Hint - you can scroll faster sideways (30 characters at a time) by using Alt+Left/Right Arrow.

Re: Compare files by content: show in-line differences (char-wise)

Posted: 2018-11-05, 16:55 UTC
by Zizzy
foersom wrote: 2018-11-01, 22:49 UTC The problem is what to do when it is not just one word that are different, but perhaps several separate words or several individual letters that are different. Should "Next difference" and "Previous difference" jump to each case? Or only to the first case of a difference on a line?
Next/Previous difference should jump to next/previous red character :)
petermad wrote: 2018-11-03, 16:36 UTC Hint - you can scroll faster sideways (30 characters at a time) by using Alt+Left/Right Arrow.
Good idea, but this function should be useful ;)

Re: Compare files by content: show in-line differences (char-wise)

Posted: 2019-03-22, 09:56 UTC
by Zizzy
No way to develop this function?