Skip to content

Commit e444051

Browse files
committed
rm listener
1 parent f6c307e commit e444051

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,6 @@ export class InlineCompletionsController extends Disposable {
154154
this.updateObservables(tx, getReason(e))
155155
)));
156156

157-
this._register(this._contextKeyService.onDidChangeContext((e) => transaction(tx => {
158-
if (e.affectsSome(new Set('editorDictation.inProgress'))) {
159-
/** @description contextKeyService.editorDictation.inProgress*/
160-
this.updateObservables(tx, VersionIdChangeReason.Other);
161-
this.model.get()?.stop(tx);
162-
}
163-
})));
164157

165158
this._register(editor.onDidChangeCursorPosition(e => transaction(tx => {
166159
/** @description InlineCompletionsController.onDidChangeCursorPosition */

0 commit comments

Comments
 (0)