CM6 Diff/Merge Editor Example

See also this thread.