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

Unified Diff: third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js

Issue 2281703002: DevTools: Create TextEditor Interface around CodeMirrorTextEditor (Closed)
Patch Set: Remove accidental devtools.gypi Created 4 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
Index: third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js b/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
index fe07c5d67b5b7f40de45a8ce48541b2a6b2ea6d3..0fdc2b7af3a653859a4f3148ee5a18e07c52ec5c 100644
--- a/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
@@ -510,7 +510,7 @@ WebInspector.SourceFrame.prototype = {
this._resetCurrentSearchResultIndex();
var text = this._textEditor.text();
- var range = this._textEditor.range();
+ var range = this._textEditor.fullRange();
var regex = searchConfig.toSearchRegex(true);
if (regex.__fromRegExpQuery)

Powered by Google App Engine
This is Rietveld 408576698