re-compute links when LinkProviderRegistry changes
This commit is contained in:
parent
b5287d4621
commit
47c1b47f0e
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ class LinkDetector implements editorCommon.IEditorContribution {
|
|||
this.listenersToRemove.push(editor.onDidChangeModelContent((e) => this.onChange()));
|
||||
this.listenersToRemove.push(editor.onDidChangeModel((e) => this.onModelChanged()));
|
||||
this.listenersToRemove.push(editor.onDidChangeModelMode((e) => this.onModelModeChanged()));
|
||||
this.listenersToRemove.push(LinkProviderRegistry.onDidChange((e) => this.onModelModeChanged()));
|
||||
this.listenersToRemove.push(this.editor.onMouseUp((e:IEditorMouseEvent) => this.onEditorMouseUp(e)));
|
||||
this.listenersToRemove.push(this.editor.onMouseMove((e:IEditorMouseEvent) => this.onEditorMouseMove(e)));
|
||||
this.listenersToRemove.push(this.editor.onKeyDown((e:IKeyboardEvent) => this.onEditorKeyDown(e)));
|
||||
|
|
Loading…
Reference in a new issue