未验证 提交 48e1c7d4 编写于 作者: W Will Smith 提交者: GitHub

Merge pull request #26512 from TIHan/RaiseChanged-WorkspaceReg

Raise events when connecting or disconnecting from a workspace for semantic changed
......@@ -37,11 +37,13 @@ public override void Disconnect()
protected override void ConnectToWorkspace(Workspace workspace)
{
_notificationService.OpenedDocumentSemanticChanged += OnOpenedDocumentSemanticChanged;
this.RaiseChanged();
}
protected override void DisconnectFromWorkspace(Workspace workspace)
{
_notificationService.OpenedDocumentSemanticChanged -= OnOpenedDocumentSemanticChanged;
this.RaiseChanged();
}
private void OnSubjectBufferChanged(object sender, TextContentChangedEventArgs e)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册