Unified diff in CodeMirror (from Gerrit ?)

Hi there

Recently, Gerrit started to test a unified diff view based on CodeMirror. See the thread here:


You can see a sample here (from the changeset itself):


Reading the CodeMirror doc, I don’t see an easy way to do it right now. The merge addon seems to only support side-by-side diff. Am I missing something?

Nope, you’re not missing something. A merge interface like this would work very differently, and no such thing exists for CodeMirror, as far as I’m aware of.