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)
142
Contract.ThrowIfFalse(textDocumentFactory.TryGetTextDocument(
_textBuffer
, out var textDocument));
204
await _semanticSearchWorkspace.Value.OpenQueryDocumentAsync(
_textBuffer
, targetLanguage: null, cancellationToken).ConfigureAwait(false);
359
Contract.ThrowIfNull(
_textBuffer
);
361
Contract.ThrowIfFalse(undoHistoryRegistry.TryGetHistory(
_textBuffer
, out var undoHistory));
364
using (var edit =
_textBuffer
.CreateEdit())
366
edit.Replace(0,
_textBuffer
.CurrentSnapshot.Length, text);
393
Contract.ThrowIfNull(
_textBuffer
);