1 write to TextView
Microsoft.VisualStudio.LanguageServices (1)
Snippets\SnippetExpansionClient.cs (1)
104
TextView
= textView;
18 references to TextView
Microsoft.VisualStudio.LanguageServices (18)
Snippets\SnippetExpansionClient.cs (18)
216
var endPositionTrackingSpan = isFullSnippetFormat ? _languageHelper.InsertEmptyCommentAndGetEndPositionTrackingSpan(ExpansionSession,
TextView
, SubjectBuffer) : null;
252
TextView
.TextBuffer,
258
TextView
.TextSnapshot.GetLineAndCharacter(endSpanInSurfaceBuffer.Start.Position, out var endLine, out var endChar);
395
TextView
.TryMoveCaretToAndEnsureVisible(new VirtualSnapshotPoint(
TextView
.TextSnapshot.GetPoint(endLinePosition), _indentDepth));
483
var textViewModel =
TextView
.TextViewModel;
486
Debug.Assert(
TextView
.IsClosed);
564
if (_signatureHelpControllerProvider.GetController(
TextView
, SubjectBuffer) is { } controller)
573
var editorCommandHandlerService = _editorCommandHandlerServiceFactory.GetService(
TextView
, SubjectBuffer);
593
client.
TextView
.Closed += delegate { controller.ModelUpdated -= client.OnModelUpdated; };
816
var textViewModel =
TextView
.TextViewModel;
819
Debug.Assert(
TextView
.IsClosed);
995
var textViewModel =
TextView
.TextViewModel;
998
Debug.Assert(
TextView
.IsClosed);
1038
var vsTextView = EditorAdaptersFactoryService.GetViewAdapter(
TextView
);
1123
var snapshotSpan =
TextView
.TextSnapshot.GetSpan(surfaceBufferTextSpan);
1124
var subjectBufferSpanCollection =
TextView
.BufferGraph.MapDownToBuffer(snapshotSpan, SpanTrackingMode.EdgeExclusive, SubjectBuffer);
1139
var spanCollection =
TextView
.BufferGraph.MapUpToBuffer(snapshotSpan, SpanTrackingMode.EdgeExclusive, targetBuffer);