15 references to _diffViewer
Microsoft.CodeAnalysis.EditorFeatures.Wpf (15)
IWpfDifferenceViewerExtensions.cs (15)
41_diffViewer.VisualElement.Width = _width; 42_diffViewer.VisualElement.Height = _height; 49if (_diffViewer.DifferenceBuffer.CurrentInlineBufferSnapshot is { } snapshot) 55_diffViewer.DifferenceBuffer.SnapshotDifferenceChanged += HandleSnapshotDifferenceChanged; 58if (_diffViewer.DifferenceBuffer.CurrentInlineBufferSnapshot is { } snapshot2) 67_diffViewer.DifferenceBuffer.SnapshotDifferenceChanged -= HandleSnapshotDifferenceChanged; 74Contract.ThrowIfNull(_diffViewer.DifferenceBuffer.CurrentInlineBufferSnapshot); 76completionSource.SetResult(_diffViewer.DifferenceBuffer.CurrentInlineBufferSnapshot); 86if (_diffViewer.ViewMode == DifferenceViewMode.RightViewOnly) 88textView = _diffViewer.RightView; 89snapshot = _diffViewer.DifferenceBuffer.RightBuffer.CurrentSnapshot; 91else if (_diffViewer.ViewMode == DifferenceViewMode.LeftViewOnly) 93textView = _diffViewer.LeftView; 94snapshot = _diffViewer.DifferenceBuffer.LeftBuffer.CurrentSnapshot; 98textView = _diffViewer.InlineView;