2 writes to TextImage
Microsoft.CodeAnalysis.EditorFeatures.Text (2)
Extensions.SnapshotSourceText.cs (2)
44
this.
TextImage
= RecordReverseMapAndGetImage(editorSnapshot);
55
this.
TextImage
= textImage;
14 references to TextImage
Microsoft.CodeAnalysis.EditorFeatures.Text (14)
Extensions.cs (1)
34
=> (text as SnapshotSourceText)?.
TextImage
;
Extensions.SnapshotSourceText.cs (13)
112
=> TryFindEditorSnapshot(this.
TextImage
);
126
var res = this.
TextImage
.Length;
133
get { return this.
TextImage
[position]; }
149
get { return _text.
TextImage
.LineCount; }
156
var line = _text.
TextImage
.GetLineFromLineNumber(index);
162
=> _text.
TextImage
.GetLineNumberFromPosition(position);
169
var textLine = _text.
TextImage
.GetLineFromPosition(position);
176
=> this.
TextImage
.GetText();
181
var res = this.
TextImage
.GetText(editorSpan);
206
var buffer = factory.CloneWithUnknownContentType(
TextImage
);
306
return GetChangeRanges(_baseTextImage, _baseTextImage.Length, this.
TextImage
);
311
=> this.
TextImage
.CopyTo(sourceIndex, destination, destinationIndex, count);
314
=> this.
TextImage
.Write(textWriter, span.ToSpan());