| Index: third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorUtils.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorUtils.js b/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorUtils.js
|
| index b53c2eb49d1666c5605f759df211fc6ddb82dae3..b0c00d60ca406233d6089ec8ab67030298d21124 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorUtils.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorUtils.js
|
| @@ -121,6 +121,9 @@ WebInspector.CodeMirrorUtils.prototype = {
|
| e.consume();
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| setUpEditor: function(editingContext)
|
| {
|
| var element = editingContext.element;
|
| @@ -145,17 +148,26 @@ WebInspector.CodeMirrorUtils.prototype = {
|
| editingContext.codeMirror = codeMirror;
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| closeEditor: function(editingContext)
|
| {
|
| editingContext.element.removeEventListener("copy", this._consumeCopy, false);
|
| editingContext.cssLoadView.detach();
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| cancelEditing: function(editingContext)
|
| {
|
| editingContext.codeMirror.setValue(editingContext.oldText);
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| augmentEditingHandle: function(editingContext, handle)
|
| {
|
| function setWidth(editingContext, width)
|
|
|