1 write to _buffer
Microsoft.VisualStudio.LanguageServices (1)
Preview\FileChange.cs (1)
62
_buffer
= bufferCloneService.Clone(bufferText, bufferFactory.InertContentType);
7 references to _buffer
Microsoft.VisualStudio.LanguageServices (7)
Preview\FileChange.cs (7)
111
var trackingSpan =
_buffer
.CurrentSnapshot.CreateTrackingSpan(leftSpan, SpanTrackingMode.EdgeInclusive);
116
var spanChange = new SpanChange(trackingSpan,
_buffer
, id, displayText, leftText, rightText, isDeletion, this, engine);
127
var entireSpan =
_buffer
.CurrentSnapshot.CreateTrackingSpan(0,
_buffer
.CurrentSnapshot.Length, SpanTrackingMode.EdgeInclusive);
130
var entireSpanChild = new SpanChange(entireSpan,
_buffer
, document.Id, displayText, text, text, isDeletion: false, parent: this, engine: engine);
192
using var edit =
_buffer
.CreateEdit();
197
return
_buffer
.CurrentSnapshot.AsText();