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