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