| 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..78156f24ce0ca8c15a91847dd96a8a26eb0072c6 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
|
| @@ -16,6 +16,7 @@ UI.TextEditorFactory.prototype = {
|
|
|
| /**
|
| * @interface
|
| + * @extends {Common.EventTarget}
|
| */
|
| UI.TextEditor = function() {};
|
|
|
| @@ -73,6 +74,18 @@ UI.TextEditor.prototype = {
|
| clearAutocomplete() {}
|
| };
|
|
|
| +/** @implements {Common.Emittable} */
|
| +UI.TextEditor.TextChangedEvent = class {
|
| + /**
|
| + * @param {!Common.TextRange} oldRange
|
| + * @param {!Common.TextRange} newRange
|
| + */
|
| + constructor(oldRange, newRange) {
|
| + this.oldRange = oldRange;
|
| + this.newRange = newRange;
|
| + }
|
| +};
|
| +
|
| /**
|
| * @typedef {{
|
| * bracketMatchingSetting: (!Common.Setting|undefined),
|
|
|