1 write to _textBuffer
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
139_textBuffer = textViewHost.TextView.TextBuffer;
7 references to _textBuffer
Microsoft.VisualStudio.LanguageServices.CSharp (7)
SemanticSearch\SemanticSearchToolWindowImpl.cs (7)
142Contract.ThrowIfFalse(textDocumentFactory.TryGetTextDocument(_textBuffer, out var textDocument)); 204await _semanticSearchWorkspace.Value.OpenQueryDocumentAsync(_textBuffer, targetLanguage: null, cancellationToken).ConfigureAwait(false); 359Contract.ThrowIfNull(_textBuffer); 361Contract.ThrowIfFalse(undoHistoryRegistry.TryGetHistory(_textBuffer, out var undoHistory)); 364using (var edit = _textBuffer.CreateEdit()) 366edit.Replace(0, _textBuffer.CurrentSnapshot.Length, text); 393Contract.ThrowIfNull(_textBuffer);