1 write to _textBuffer
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentOutlineViewModel.cs (1)
82
_textBuffer
= codeWindowViewTracker.GetActiveView().TextBuffer;
8 references to _textBuffer
Microsoft.VisualStudio.LanguageServices (8)
DocumentOutline\DocumentOutlineViewModel.cs (8)
85
_lastPresentedViewState_doNotAccessDirectly = CreateEmptyViewState(
_textBuffer
.CurrentSnapshot);
100
TaggerEventSources.OnTextChanged(
_textBuffer
),
101
TaggerEventSources.OnParseOptionChanged(
_textBuffer
),
102
TaggerEventSources.OnWorkspaceChanged(
_textBuffer
, asyncListener),
103
TaggerEventSources.OnWorkspaceRegistrationChanged(
_textBuffer
));
428
var filePath =
_textBuffer
.GetRelatedDocuments().FirstOrDefault(static d => d.FilePath is not null)?.FilePath;
433
_textBuffer
, _languageServiceBroker.RequestAsync, filePath, cancellationToken).ConfigureAwait(false);
442
return (ImmutableArray<DocumentSymbolData>.Empty,
_textBuffer
.CurrentSnapshot);