CodeMirror has a new version coming up, that should not only show still better performance, but it should also make the implementation of #94056 and #94062 fairly straightforward. As soon as v3 is stable enough, we should migrate our current CodeMirror code base to the new version.
Created attachment 171873 [details] Patch
Comment on attachment 171873 [details] Patch Clearing flags on attachment: 171873 Committed r133189: <http://trac.webkit.org/changeset/133189>
All reviewed patches have been landed. Closing bug.
Reopening to attach new patch.
Created attachment 173038 [details] Patch
Comment on attachment 173038 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=173038&action=review > Source/WebCore/inspector/front-end/CodeMirrorTextEditor.js:-57 > - CodeMirror.on(this._codeMirror, "change", this._change.bind(this)); Why this was wrong? It seems to work for me.
Please create a new bug for each patch.