On windows, Notepad++ compare plugin let’s you compare unsaved files. So to compare two texts copied from elsewhere, just make two new tabs and paste the texts. Compare plugin will happily compare line by line.

On Linux I havent found something similar. The closes is Kate, but you still have to save tmp1.txt and tmp2.txt , and remove the clutter when finished.

Does anybody know a compare app that just lets you paste two text blocks without saving files first?

  • Jestzer@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    5 days ago

    It’s not a very Linux-y answer, but VSC does allow you to compare 2 pages for differences. Those pages can be unsaved or saved files.

    • klangcola@reddthat.comOP
      link
      fedilink
      arrow-up
      1
      ·
      4 days ago

      Thanks, I’ll add VSCode/ium to the arsenal. I tend underutilize VSCode since Kate usually does everything needed by a text editor without all the baggage.