Include some basic diff support to be able to visually see the difference between two files.
There already exist some open source javascript libraries that have a nice algorithm for this, so should be to hard to implement (as just another editor type).