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