Skip to content

Commit 98a618a

Browse files
committed
Register testAreaInput event listeners
1 parent ecb104a commit 98a618a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/editor/browser/controller/textAreaInput.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,8 +707,8 @@ export class TextAreaWrapper extends Disposable implements ICompleteTextAreaWrap
707707
super();
708708
this._ignoreSelectionChangeTime = 0;
709709

710-
this.onBeforeInput(() => inputLatency.markInputStart());
711-
this.onInput(() => inputLatency.markInputEnd());
710+
this._register(this.onBeforeInput(() => inputLatency.markInputStart()));
711+
this._register(this.onInput(() => inputLatency.markInputEnd()));
712712

713713
this._register(dom.addDisposableListener(this._actual, TextAreaSyntethicEvents.Tap, () => this._onSyntheticTap.fire()));
714714
}

0 commit comments

Comments
 (0)