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;
55
if (
_diffViewer
.DifferenceBuffer.CurrentInlineBufferSnapshot is { } snapshot)
61
_diffViewer
.DifferenceBuffer.SnapshotDifferenceChanged += HandleSnapshotDifferenceChanged;
64
if (
_diffViewer
.DifferenceBuffer.CurrentInlineBufferSnapshot is { } snapshot2)
73
_diffViewer
.DifferenceBuffer.SnapshotDifferenceChanged -= HandleSnapshotDifferenceChanged;
80
Contract.ThrowIfNull(
_diffViewer
.DifferenceBuffer.CurrentInlineBufferSnapshot);
82
completionSource.SetResult(
_diffViewer
.DifferenceBuffer.CurrentInlineBufferSnapshot);
92
if (
_diffViewer
.ViewMode == DifferenceViewMode.RightViewOnly)
94
textView =
_diffViewer
.RightView;
95
snapshot =
_diffViewer
.DifferenceBuffer.RightBuffer.CurrentSnapshot;
97
else if (
_diffViewer
.ViewMode == DifferenceViewMode.LeftViewOnly)
99
textView =
_diffViewer
.LeftView;
100
snapshot =
_diffViewer
.DifferenceBuffer.LeftBuffer.CurrentSnapshot;
104
textView =
_diffViewer
.InlineView;