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..ced077a7162a1db57781a6d0a265056ad517486b 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} column |
dgozman
2017/03/17 20:58:50
columnNumber
einbinder
2017/03/20 17:50:47
Done.
|
+ * @return {?{startColumn: number, endColumn: number, type: string}} |
+ */ |
+ tokenAtTextPosition(lineNumber, column) {} |
}; |
/** |
@@ -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) |
* }} |