1 write to _textBuffer
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
122
_textBuffer
= textViewHost.TextView.TextBuffer;
7 references to _textBuffer
Microsoft.VisualStudio.LanguageServices.CSharp (7)
SemanticSearch\SemanticSearchToolWindowImpl.cs (7)
125
Contract.ThrowIfFalse(textDocumentFactory.TryGetTextDocument(
_textBuffer
, out var textDocument));
186
await _semanticSearchWorkspace.Value.OpenQueryDocumentAsync(
_textBuffer
, cancellationToken).ConfigureAwait(false);
341
Contract.ThrowIfNull(
_textBuffer
);
343
Contract.ThrowIfFalse(undoHistoryRegistry.TryGetHistory(
_textBuffer
, out var undoHistory));
346
using (var edit =
_textBuffer
.CreateEdit())
348
edit.Replace(0,
_textBuffer
.CurrentSnapshot.Length, text);
375
Contract.ThrowIfNull(
_textBuffer
);