Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1325)

Unified Diff: Source/devtools/front_end/CodeMirrorTextEditor.js

Issue 23496039: DevTools: [CodeMirror] roll CodeMirror to @e0b0e32ed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/devtools/front_end/cm/codemirror.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/CodeMirrorTextEditor.js
diff --git a/Source/devtools/front_end/CodeMirrorTextEditor.js b/Source/devtools/front_end/CodeMirrorTextEditor.js
index 757d3380847e95b3132c28b40c7c38a1fcaa3699..6104bb8a3d01d45ec61b4330bbed05bda4519a90 100644
--- a/Source/devtools/front_end/CodeMirrorTextEditor.js
+++ b/Source/devtools/front_end/CodeMirrorTextEditor.js
@@ -135,6 +135,7 @@ WebInspector.CodeMirrorTextEditor = function(url, delegate)
this._codeMirror.setOption("flattenSpans", false);
this._codeMirror.setOption("maxHighlightLength", 1000);
this._codeMirror.setOption("mode", null);
+ this._codeMirror.setOption("crudeMeasuringFrom", 1000);
this._shouldClearHistory = true;
this._lineSeparator = "\n";
« no previous file with comments | « no previous file | Source/devtools/front_end/cm/codemirror.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698