| 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 9c5688aadf842c078fd9aea3e90fc222a1018356..d1189e68f2f0046637c001bca8e138fe2872bed6 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
|
| @@ -70,7 +70,14 @@ UI.TextEditor.prototype = {
|
| */
|
| configureAutocomplete(config) {},
|
|
|
| - clearAutocomplete() {}
|
| + clearAutocomplete() {},
|
| +
|
| + /**
|
| + * @param {number} lineNumber
|
| + * @param {number} columnNumber
|
| + * @return {?{startColumn: number, endColumn: number, type: string}}
|
| + */
|
| + tokenAtTextPosition(lineNumber, columnNumber) {}
|
| };
|
|
|
| /**
|
| @@ -88,7 +95,7 @@ UI.TextEditor.Options;
|
| /**
|
| * @typedef {{
|
| * substituteRangeCallback: ((function(number, number):?Common.TextRange)|undefined),
|
| - * suggestionsCallback: ((function(!Common.TextRange, !Common.TextRange, boolean=, string=):?Promise.<!UI.SuggestBox.Suggestions>)|undefined),
|
| + * suggestionsCallback: ((function(!Common.TextRange, !Common.TextRange, boolean=):?Promise.<!UI.SuggestBox.Suggestions>)|undefined),
|
| * isWordChar: ((function(string):boolean)|undefined),
|
| * captureEnter: (boolean|undefined)
|
| * }}
|
|
|