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));
203
await _semanticSearchWorkspace.Value.OpenQueryDocumentAsync(
_textBuffer
, cancellationToken).ConfigureAwait(false);
358
Contract.ThrowIfNull(
_textBuffer
);
360
Contract.ThrowIfFalse(undoHistoryRegistry.TryGetHistory(
_textBuffer
, out var undoHistory));
363
using (var edit =
_textBuffer
.CreateEdit())
365
edit.Replace(0,
_textBuffer
.CurrentSnapshot.Length, text);
392
Contract.ThrowIfNull(
_textBuffer
);