private void EhSourceTextChanged(object sender, Microsoft.CodeAnalysis.Text.TextChangeEventArgs e) { // update foldings var newFoldings = _adapter?.GetNewFoldings(); _foldingManager.UpdateFoldings(newFoldings, -1); }
private async void EhSourceTextChanged(object sender, Microsoft.CodeAnalysis.Text.TextChangeEventArgs e) { var adapter = Adapter; if (null != adapter) { var syntaxTree = await adapter.GetDocumentSyntaxTreeAsync(); quickClassBrowser.Update(syntaxTree.GetRoot()); } }
private void SourceTextContainer_TextChanged(object sender, Microsoft.CodeAnalysis.Text.TextChangeEventArgs e) { HasChangesToValidate = true; }