mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 22:37:41 +00:00
This commit is contained in:
parent
41e27b8d5b
commit
761b34550d
|
@ -272,7 +272,7 @@ export class TextAreaInput extends Disposable {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const [newState, typeInput] = deduceComposition(e.data);
|
const [newState, typeInput] = deduceComposition(e.data || '');
|
||||||
this._textAreaState = newState;
|
this._textAreaState = newState;
|
||||||
this._onType.fire(typeInput);
|
this._onType.fire(typeInput);
|
||||||
this._onCompositionUpdate.fire(e);
|
this._onCompositionUpdate.fire(e);
|
||||||
|
@ -290,7 +290,7 @@ export class TextAreaInput extends Disposable {
|
||||||
this._textAreaState = newState;
|
this._textAreaState = newState;
|
||||||
this._onType.fire(typeInput);
|
this._onType.fire(typeInput);
|
||||||
} else {
|
} else {
|
||||||
const [newState, typeInput] = deduceComposition(e.data);
|
const [newState, typeInput] = deduceComposition(e.data || '');
|
||||||
this._textAreaState = newState;
|
this._textAreaState = newState;
|
||||||
this._onType.fire(typeInput);
|
this._onType.fire(typeInput);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue