16 references to TextSegment
PresentationFramework (16)
MS\Internal\Documents\TextBoxView.cs (2)
944return new TextSegment(start, end, true); 1267segments.Add(new TextSegment(start, end, true));
MS\Internal\Documents\TextContainerHelper.cs (2)
90segments.Add(new TextSegment( 100segments.Add(new TextSegment(
MS\Internal\Documents\TextDocumentView.cs (3)
2301lineRange = new TextSegment(((TextParagraphResult)paragraph).EndPosition, ((TextParagraphResult)paragraph).EndPosition, true); 2308lineRange = new TextSegment(lines[lineIndex].StartPosition, lines[lineIndex].GetContentEndPosition(), true); 3246segments.Add(new TextSegment(_textContainer.Start, segmentEnd, true));
MS\Internal\Documents\TextParagraphView.cs (2)
272return new TextSegment(lines[lineIndex].StartPosition, lines[lineIndex].GetContentEndPosition(), true); 479segments.Add(new TextSegment(_textContainer.Start, _textContainer.End, true));
System\Windows\Controls\TextAdaptor.cs (1)
534visibleTextSegments.Add(new TextSegment(visibleStart, visibleEnd, true));
System\Windows\Documents\DocumentSequenceTextView.cs (2)
369return new TextSegment(tpStart, tpEnd, true); 554parentSegments.Add(new TextSegment(ptpStart, ptpEnd,true));
System\Windows\Documents\FixedTextView.cs (3)
583 return new TextSegment(position, position, true); 614return new TextSegment(begin, end, true); 718list.Add(new TextSegment(this.Start, this.End, true));
System\windows\Documents\TextSegment.cs (1)
43this(startPosition, endPosition, false)