Updated codemirror to 3.0, made all relevant changes.
Slight gutter line number alignment issues on some themes, not sure whats causing it yet.