1 write to _textBuffer
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentOutlineViewModel.cs (1)
70
_textBuffer
= codeWindowViewTracker.GetActiveView().TextBuffer;
8 references to _textBuffer
Microsoft.VisualStudio.LanguageServices (8)
DocumentOutline\DocumentOutlineViewModel.cs (8)
73
_lastPresentedViewState_doNotAccessDirectly = CreateEmptyViewState(
_textBuffer
.CurrentSnapshot);
88
TaggerEventSources.OnTextChanged(
_textBuffer
),
89
TaggerEventSources.OnParseOptionChanged(
_textBuffer
),
90
TaggerEventSources.OnWorkspaceChanged(
_textBuffer
, asyncListener),
91
TaggerEventSources.OnWorkspaceRegistrationChanged(
_textBuffer
));
416
var filePath =
_textBuffer
.GetRelatedDocuments().FirstOrDefault(static d => d.FilePath is not null)?.FilePath;
421
_textBuffer
, _languageServiceBroker.RequestAsync, filePath, cancellationToken).ConfigureAwait(false);
430
return (ImmutableArray<DocumentSymbolData>.Empty,
_textBuffer
.CurrentSnapshot);