Ace-diff
Diff/merge for Ace editor

Wrapper for the Ace Editor to provide a 2-panel diffing/merging tool that visualizes differences in two documents and allows users to copy changes from one doc to the other.

Read docs on GitHub
Ace-diff screenshot

Demos

Also checkout their source code to see the Ace-diff usage.