Using Ubuntu Linux 20.04 I would like to use a graphical diff tool (like Meld, Kdiff3, Kompare, etc.) that supports automatic line breaks. What I mean by that is that I would like to see the entire text in the graphical window that's available to me, without the need of scrolling horizontally, as this is incredibly painful when using text (scientific papers) with very long lines (i.e., long paragraphs).

I've checked all "top X diff tools" webpages and tried more than 10 graphical diff tools. NONE of them supports automatic word wraps/line breaks (or however they are called). In all of them, long lones are just endlessly long lines.

Fun fact: I know that meld did support this at some point, but apparently it does not anymore, for some extremely weird reason they've just removed this feature.

To be more precise, kdiff3 actually does support this, but it seems that it does not allow to edit the text being displayed, which is another extremely essential feature since diff tools get "confused" very easily, so one needs to constantly do some minor alterations to the text so that the differ keepz regognizing similarities.

So, can anybody recommend such a tool to me? It's driving me crazy that I can't use a differ anymore...


One possible answer, though that is technically not what I'm looking for since it's not a GUI (though I only said "graphical", which it is, I did technically not restrict to GUI -- although I meant that) is icdiff. It puts the two texts onto the terminal, but highlights differences in color (with the demanded line wrap).

It was recommended in another stackoverflow post, which you should probably vote on (question + answer) if you find this helpful.


Another response, though this is even more off -- since I've clearly asked for Linux -- is the graphical diff tool by tortoise git for Windows. I was reaching out to that OS since there really doesn't seem to exist decent software for Linux... (But I'm happy to disproved!)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.