| Index: third_party/WebKit/Source/devtools/front_end/source_frame/SourcesTextEditor.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/SourcesTextEditor.js b/third_party/WebKit/Source/devtools/front_end/source_frame/SourcesTextEditor.js
|
| index 03a47b2d7ff124f1220972c8d4636ff74aabc4a6..522709811a6601a950ef4dc75560edb67532f0a3 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/source_frame/SourcesTextEditor.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/source_frame/SourcesTextEditor.js
|
| @@ -9,7 +9,11 @@
|
| */
|
| WebInspector.SourcesTextEditor = function(delegate)
|
| {
|
| - WebInspector.CodeMirrorTextEditor.call(this);
|
| + WebInspector.CodeMirrorTextEditor.call(this, {
|
| + lineNumbers: true,
|
| + lineWrapping: false,
|
| + bracketMatchingSetting: WebInspector.moduleSetting("textEditorBracketMatching"),
|
| + });
|
|
|
| this.codeMirror().addKeyMap({
|
| "Enter": "smartNewlineAndIndent",
|
| @@ -31,6 +35,7 @@ WebInspector.SourcesTextEditor = function(delegate)
|
|
|
| /** @type {!Array<string>} */
|
| this._gutters = ["CodeMirror-linenumbers"];
|
| + this.codeMirror().setOption("gutters", this._gutters.slice());
|
|
|
| /**
|
| * @this {WebInspector.SourcesTextEditor}
|
|
|