| 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 ec7e8ee32db179045a3b46fe405ef0a72e4db00e..8b8e0529633f02bc93b029d046ebfbcd817372a1 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
|
| @@ -4,12 +4,12 @@
|
| /**
|
| * @interface
|
| */
|
| -WebInspector.TextEditorFactory = function() {};
|
| +UI.TextEditorFactory = function() {};
|
|
|
| -WebInspector.TextEditorFactory.prototype = {
|
| +UI.TextEditorFactory.prototype = {
|
| /**
|
| - * @param {!WebInspector.TextEditor.Options} options
|
| - * @return {!WebInspector.TextEditor}
|
| + * @param {!UI.TextEditor.Options} options
|
| + * @return {!UI.TextEditor}
|
| */
|
| createEditor: function(options) {}
|
| };
|
| @@ -17,32 +17,32 @@ WebInspector.TextEditorFactory.prototype = {
|
| /**
|
| * @interface
|
| */
|
| -WebInspector.TextEditor = function() {};
|
| +UI.TextEditor = function() {};
|
|
|
| -WebInspector.TextEditor.prototype = {
|
| +UI.TextEditor.prototype = {
|
|
|
| /**
|
| - * @return {!WebInspector.Widget}
|
| + * @return {!UI.Widget}
|
| */
|
| widget: function() {},
|
|
|
| /**
|
| - * @return {!WebInspector.TextRange}
|
| + * @return {!Common.TextRange}
|
| */
|
| fullRange: function() {},
|
|
|
| /**
|
| - * @return {!WebInspector.TextRange}
|
| + * @return {!Common.TextRange}
|
| */
|
| selection: function() {},
|
|
|
| /**
|
| - * @param {!WebInspector.TextRange} selection
|
| + * @param {!Common.TextRange} selection
|
| */
|
| setSelection: function(selection) {},
|
|
|
| /**
|
| - * @param {!WebInspector.TextRange=} textRange
|
| + * @param {!Common.TextRange=} textRange
|
| * @return {string}
|
| */
|
| text: function(textRange) {},
|
| @@ -66,7 +66,7 @@ WebInspector.TextEditor.prototype = {
|
| addKeyDownHandler: function(handler) {},
|
|
|
| /**
|
| - * @param {?WebInspector.AutocompleteConfig} config
|
| + * @param {?UI.AutocompleteConfig} config
|
| */
|
| configureAutocomplete: function(config) {},
|
|
|
| @@ -75,21 +75,21 @@ WebInspector.TextEditor.prototype = {
|
|
|
| /**
|
| * @typedef {{
|
| - * bracketMatchingSetting: (!WebInspector.Setting|undefined),
|
| + * bracketMatchingSetting: (!Common.Setting|undefined),
|
| * lineNumbers: boolean,
|
| * lineWrapping: boolean,
|
| * mimeType: (string|undefined),
|
| * autoHeight: (boolean|undefined)
|
| * }}
|
| */
|
| -WebInspector.TextEditor.Options;
|
| +UI.TextEditor.Options;
|
|
|
| /**
|
| * @typedef {{
|
| - * substituteRangeCallback: ((function(number, number):?WebInspector.TextRange)|undefined),
|
| - * suggestionsCallback: ((function(!WebInspector.TextRange, !WebInspector.TextRange, boolean=, string=):?Promise.<!WebInspector.SuggestBox.Suggestions>)|undefined),
|
| + * substituteRangeCallback: ((function(number, number):?Common.TextRange)|undefined),
|
| + * suggestionsCallback: ((function(!Common.TextRange, !Common.TextRange, boolean=, string=):?Promise.<!UI.SuggestBox.Suggestions>)|undefined),
|
| * isWordChar: ((function(string):boolean)|undefined),
|
| * captureEnter: (boolean|undefined)
|
| * }}
|
| */
|
| -WebInspector.AutocompleteConfig;
|
| +UI.AutocompleteConfig;
|
|
|