1 write to _subjectBuffer
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Utilities\LinkedEditsTracker.cs (1)
29
_subjectBuffer
= subjectBuffer;
5 references to _subjectBuffer
Microsoft.CodeAnalysis.EditorFeatures (5)
Shared\Utilities\LinkedEditsTracker.cs (5)
37
var currentActiveSpans = GetActiveSpansForSnapshot(
_subjectBuffer
.CurrentSnapshot).ToSet();
41
if (!currentActiveSpans.Contains(newTrackingSpan.GetSpan(
_subjectBuffer
.CurrentSnapshot)))
105
using var edit =
_subjectBuffer
.CreateEdit(new EditOptions(), null, s_propagateSpansEditTag);
109
if (span.GetText(
_subjectBuffer
.CurrentSnapshot) != replacementText)
111
edit.Replace(span.GetSpan(
_subjectBuffer
.CurrentSnapshot), replacementText);