| Index: Source/devtools/front_end/SourceFrame.js
|
| diff --git a/Source/devtools/front_end/SourceFrame.js b/Source/devtools/front_end/SourceFrame.js
|
| index b77501527854c20e9653e47c00760b257c40890d..39dcce064674388b62db811f5f3d5c21220dd2fd 100644
|
| --- a/Source/devtools/front_end/SourceFrame.js
|
| +++ b/Source/devtools/front_end/SourceFrame.js
|
| @@ -346,7 +346,7 @@ WebInspector.SourceFrame.prototype = {
|
| } else {
|
| var firstLine = this._textEditor.firstVisibleLine();
|
| var selection = this._textEditor.selection();
|
| - this._textEditor.editRange(this._textEditor.range(), content || "");
|
| + this._textEditor.setText(content || "");
|
| this._textEditor.scrollToLine(firstLine);
|
| this._textEditor.setSelection(selection);
|
| }
|
|
|