@@ -53,37 +53,37 @@ export interface ITextAreaInputHost {
5353export class TextAreaInput extends Disposable {
5454
5555 private _onFocus = this . _register ( new Emitter < void > ( ) ) ;
56- public onFocus : Event < void > = this . _onFocus . event ;
56+ public readonly onFocus : Event < void > = this . _onFocus . event ;
5757
5858 private _onBlur = this . _register ( new Emitter < void > ( ) ) ;
59- public onBlur : Event < void > = this . _onBlur . event ;
59+ public readonly onBlur : Event < void > = this . _onBlur . event ;
6060
6161 private _onKeyDown = this . _register ( new Emitter < IKeyboardEvent > ( ) ) ;
62- public onKeyDown : Event < IKeyboardEvent > = this . _onKeyDown . event ;
62+ public readonly onKeyDown : Event < IKeyboardEvent > = this . _onKeyDown . event ;
6363
6464 private _onKeyUp = this . _register ( new Emitter < IKeyboardEvent > ( ) ) ;
65- public onKeyUp : Event < IKeyboardEvent > = this . _onKeyUp . event ;
65+ public readonly onKeyUp : Event < IKeyboardEvent > = this . _onKeyUp . event ;
6666
6767 private _onCut = this . _register ( new Emitter < void > ( ) ) ;
68- public onCut : Event < void > = this . _onCut . event ;
68+ public readonly onCut : Event < void > = this . _onCut . event ;
6969
7070 private _onPaste = this . _register ( new Emitter < IPasteData > ( ) ) ;
71- public onPaste : Event < IPasteData > = this . _onPaste . event ;
71+ public readonly onPaste : Event < IPasteData > = this . _onPaste . event ;
7272
7373 private _onType = this . _register ( new Emitter < ITypeData > ( ) ) ;
74- public onType : Event < ITypeData > = this . _onType . event ;
74+ public readonly onType : Event < ITypeData > = this . _onType . event ;
7575
7676 private _onCompositionStart = this . _register ( new Emitter < void > ( ) ) ;
77- public onCompositionStart : Event < void > = this . _onCompositionStart . event ;
77+ public readonly onCompositionStart : Event < void > = this . _onCompositionStart . event ;
7878
7979 private _onCompositionUpdate = this . _register ( new Emitter < ICompositionData > ( ) ) ;
80- public onCompositionUpdate : Event < ICompositionData > = this . _onCompositionUpdate . event ;
80+ public readonly onCompositionUpdate : Event < ICompositionData > = this . _onCompositionUpdate . event ;
8181
8282 private _onCompositionEnd = this . _register ( new Emitter < void > ( ) ) ;
83- public onCompositionEnd : Event < void > = this . _onCompositionEnd . event ;
83+ public readonly onCompositionEnd : Event < void > = this . _onCompositionEnd . event ;
8484
8585 private _onSelectionChangeRequest = this . _register ( new Emitter < Selection > ( ) ) ;
86- public onSelectionChangeRequest : Event < Selection > = this . _onSelectionChangeRequest . event ;
86+ public readonly onSelectionChangeRequest : Event < Selection > = this . _onSelectionChangeRequest . event ;
8787
8888 // ---
8989
0 commit comments