1 write to _compositeText
Microsoft.CodeAnalysis (1)
Text\CompositeText.cs (1)
458
_compositeText
= compositeText;
10 references to _compositeText
Microsoft.CodeAnalysis (10)
Text\CompositeText.cs (10)
473
if (position < 0 || position >
_compositeText
.Length)
478
_compositeText
.GetIndexAndOffset(position, out var segmentIndex, out var segmentOffset);
480
var segment =
_compositeText
.Segments[segmentIndex];
500
var firstSegment =
_compositeText
.Segments[firstSegmentIndexInclusive];
501
var firstSegmentOffset =
_compositeText
._segmentOffsets[firstSegmentIndexInclusive];
510
var nextSegment =
_compositeText
.Segments[nextSegmentIndex];
522
var lastSegment =
_compositeText
.Segments[lastSegmentIndexInclusive];
530
var resultLine = TextLine.FromSpanUnsafe(
_compositeText
, new TextSpan(firstSegmentOffset + firstSegmentTextLine.Start, lineLength));
554
var previousSegment =
_compositeText
.Segments[firstSegmentIndexInclusive - 1];
562
for (lastSegmentIndexInclusive = binarySearchSegmentIndex; lastSegmentIndexInclusive <
_compositeText
.Segments.Length - 1; lastSegmentIndexInclusive++)