[solved] Text-edit comparison (diff) functionality


#1

How do you create a text-edit comparison functionality like this?


Maybe there’s a package or something?

I’ve tried grokking through source code for these forums, but there’s just too many files…


#2

There are a couple of Meteor packages for text diffing: https://atmospherejs.com/ovcharik/jsdiff and https://atmospherejs.com/tomi/diff. Disclaimer: I haven’t used either package myself.