2 writes to TextImage
Microsoft.CodeAnalysis.EditorFeatures.Text (2)
Extensions.SnapshotSourceText.cs (2)
44this.TextImage = RecordReverseMapAndGetImage(editorSnapshot); 55this.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); 126var res = this.TextImage.Length; 133get { return this.TextImage[position]; } 149get { return _text.TextImage.LineCount; } 156var line = _text.TextImage.GetLineFromLineNumber(index); 162=> _text.TextImage.GetLineNumberFromPosition(position); 169var textLine = _text.TextImage.GetLineFromPosition(position); 176=> this.TextImage.GetText(); 181var res = this.TextImage.GetText(editorSpan); 206var buffer = factory.CloneWithUnknownContentType(TextImage); 306return GetChangeRanges(_baseTextImage, _baseTextImage.Length, this.TextImage); 311=> this.TextImage.CopyTo(sourceIndex, destination, destinationIndex, count); 314=> this.TextImage.Write(textWriter, span.ToSpan());