1 write to _diffViewer
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
IWpfDifferenceViewerExtensions.cs (1)
33_diffViewer = diffViewer;
15 references to _diffViewer
Microsoft.CodeAnalysis.EditorFeatures.Wpf (15)
IWpfDifferenceViewerExtensions.cs (15)
47_diffViewer.VisualElement.Width = _width; 48_diffViewer.VisualElement.Height = _height; 55if (_diffViewer.DifferenceBuffer.CurrentInlineBufferSnapshot is { } snapshot) 61_diffViewer.DifferenceBuffer.SnapshotDifferenceChanged += HandleSnapshotDifferenceChanged; 64if (_diffViewer.DifferenceBuffer.CurrentInlineBufferSnapshot is { } snapshot2) 73_diffViewer.DifferenceBuffer.SnapshotDifferenceChanged -= HandleSnapshotDifferenceChanged; 80Contract.ThrowIfNull(_diffViewer.DifferenceBuffer.CurrentInlineBufferSnapshot); 82completionSource.SetResult(_diffViewer.DifferenceBuffer.CurrentInlineBufferSnapshot); 92if (_diffViewer.ViewMode == DifferenceViewMode.RightViewOnly) 94textView = _diffViewer.RightView; 95snapshot = _diffViewer.DifferenceBuffer.RightBuffer.CurrentSnapshot; 97else if (_diffViewer.ViewMode == DifferenceViewMode.LeftViewOnly) 99textView = _diffViewer.LeftView; 100snapshot = _diffViewer.DifferenceBuffer.LeftBuffer.CurrentSnapshot; 104textView = _diffViewer.InlineView;