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)
473if (position < 0 || position > _compositeText.Length) 478_compositeText.GetIndexAndOffset(position, out var segmentIndex, out var segmentOffset); 480var segment = _compositeText.Segments[segmentIndex]; 500var firstSegment = _compositeText.Segments[firstSegmentIndexInclusive]; 501var firstSegmentOffset = _compositeText._segmentOffsets[firstSegmentIndexInclusive]; 510var nextSegment = _compositeText.Segments[nextSegmentIndex]; 523var lastSegment = _compositeText.Segments[lastSegmentIndexInclusive]; 537var resultLine = TextLine.FromSpanUnsafe(_compositeText, new TextSpan(firstSegmentOffset + firstSegmentTextLine.Start, lineLength), lineBreakLen); 561var previousSegment = _compositeText.Segments[firstSegmentIndexInclusive - 1]; 569for (lastSegmentIndexInclusive = binarySearchSegmentIndex; lastSegmentIndexInclusive < _compositeText.Segments.Length - 1; lastSegmentIndexInclusive++)