I just released a first version of a new open source script called Ace-diff. It’s an extension to Ace Editor to show a 2-panel allowing you to diff/merge two copies of a document. You can check it out here:

We needed the functionality for a project I’m working on at work, and decided that since it could well be useful for other people, I’d do it in my spare time and open source the result. Seemed a good idea at the time… now, a month on…

Quite honestly, it ended up being the project from hell. It was a far, far more difficult problem than I initially thought, with a lot of judgement calls about how to handle different scenarios and endless issues to work through. Also, there’s a key feature that’s missing from this first version: scroll locking. I poured sooooo much time into that feature but still haven’t been able to get it working well enough to my satisfaction. So for the moment, I’ve removed the relevant sections of the code.

I’m not that happy with this first version, so consider this a first salvo. I have a lot of other work to do (Form Tools, anyone?) and frankly it’s been stressing me out for weeks. Once I’m feeling a little less burned out I’ll return to this.