Skip to content

Commit d167d92

Browse files
committed
Fix typo (microsoft#28101)
1 parent 0697435 commit d167d92

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/vs/editor/browser/widget/codeEditorWidget.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export abstract class CodeEditorWidget extends CommonCodeEditor implements edito
9898
this._themeService = themeService;
9999

100100
this._focusTracker = new CodeEditorWidgetFocusTracker(domElement);
101-
this._focusTracker.onChage(() => {
101+
this._focusTracker.onChange(() => {
102102
let hasFocus = this._focusTracker.hasFocus();
103103

104104
if (hasFocus) {
@@ -524,8 +524,7 @@ class CodeEditorWidgetFocusTracker extends Disposable {
524524
private _domFocusTracker: dom.IFocusTracker;
525525

526526
private _onChange: Emitter<void> = this._register(new Emitter<void>());
527-
// TODO: Fix name
528-
public onChage: Event<void> = this._onChange.event;
527+
public onChange: Event<void> = this._onChange.event;
529528

530529
constructor(domElement: HTMLElement) {
531530
super();

0 commit comments

Comments
 (0)