| Index: third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js b/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
|
| index 9369556ca9e6ed7acfd24c75b239d42a58e50c49..1716db34d41bd55e771ab27ada4e370bc48bdf3c 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
|
| @@ -1,81 +1,76 @@
|
| // Copyright 2016 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| -
|
| /**
|
| * @interface
|
| */
|
| -WebInspector.TextEditorFactory = function()
|
| -{
|
| -};
|
| +WebInspector.TextEditorFactory = function() {};
|
|
|
| WebInspector.TextEditorFactory.prototype = {
|
| - /**
|
| - * @param {!WebInspector.TextEditor.Options} options
|
| - * @return {!WebInspector.TextEditor}
|
| - */
|
| - createEditor: function(options) { }
|
| + /**
|
| + * @param {!WebInspector.TextEditor.Options} options
|
| + * @return {!WebInspector.TextEditor}
|
| + */
|
| + createEditor: function(options) {}
|
| };
|
|
|
| /**
|
| * @interface
|
| */
|
| -WebInspector.TextEditor = function()
|
| -{
|
| -};
|
| +WebInspector.TextEditor = function() {};
|
|
|
| WebInspector.TextEditor.prototype = {
|
|
|
| - /**
|
| - * @return {!WebInspector.Widget}
|
| - */
|
| - widget: function() { },
|
| -
|
| - /**
|
| - * @return {!WebInspector.TextRange}
|
| - */
|
| - fullRange: function(){ },
|
| -
|
| - /**
|
| - * @return {!WebInspector.TextRange}
|
| - */
|
| - selection: function() { },
|
| -
|
| - /**
|
| - * @param {!WebInspector.TextRange} selection
|
| - */
|
| - setSelection: function(selection) { },
|
| -
|
| - /**
|
| - * @param {!WebInspector.TextRange=} textRange
|
| - * @return {string}
|
| - */
|
| - text: function(textRange) { },
|
| -
|
| - /**
|
| - * @param {string} text
|
| - */
|
| - setText: function(text) { },
|
| -
|
| - /**
|
| - * @param {number} lineNumber
|
| - * @return {string}
|
| - */
|
| - line: function(lineNumber) { },
|
| -
|
| - newlineAndIndent: function() { },
|
| -
|
| - /**
|
| - * @param {function(!KeyboardEvent)} handler
|
| - */
|
| - addKeyDownHandler: function(handler) { },
|
| -
|
| - /**
|
| - * @param {?WebInspector.AutocompleteConfig} config
|
| - */
|
| - configureAutocomplete: function(config) { },
|
| -
|
| - clearAutocomplete: function() { }
|
| + /**
|
| + * @return {!WebInspector.Widget}
|
| + */
|
| + widget: function() {},
|
| +
|
| + /**
|
| + * @return {!WebInspector.TextRange}
|
| + */
|
| + fullRange: function() {},
|
| +
|
| + /**
|
| + * @return {!WebInspector.TextRange}
|
| + */
|
| + selection: function() {},
|
| +
|
| + /**
|
| + * @param {!WebInspector.TextRange} selection
|
| + */
|
| + setSelection: function(selection) {},
|
| +
|
| + /**
|
| + * @param {!WebInspector.TextRange=} textRange
|
| + * @return {string}
|
| + */
|
| + text: function(textRange) {},
|
| +
|
| + /**
|
| + * @param {string} text
|
| + */
|
| + setText: function(text) {},
|
| +
|
| + /**
|
| + * @param {number} lineNumber
|
| + * @return {string}
|
| + */
|
| + line: function(lineNumber) {},
|
| +
|
| + newlineAndIndent: function() {},
|
| +
|
| + /**
|
| + * @param {function(!KeyboardEvent)} handler
|
| + */
|
| + addKeyDownHandler: function(handler) {},
|
| +
|
| + /**
|
| + * @param {?WebInspector.AutocompleteConfig} config
|
| + */
|
| + configureAutocomplete: function(config) {},
|
| +
|
| + clearAutocomplete: function() {}
|
| };
|
|
|
| /**
|
|
|