16 references to TextSegment
PresentationFramework (16)
MS\Internal\Documents\TextBoxView.cs (2)
987return new TextSegment(start, end, true); 1310segments.Add(new TextSegment(start, end, true));
MS\Internal\Documents\TextContainerHelper.cs (2)
91segments.Add(new TextSegment( 101segments.Add(new TextSegment(
MS\Internal\Documents\TextDocumentView.cs (3)
2311lineRange = new TextSegment(((TextParagraphResult)paragraph).EndPosition, ((TextParagraphResult)paragraph).EndPosition, true); 2318lineRange = new TextSegment(lines[lineIndex].StartPosition, lines[lineIndex].GetContentEndPosition(), true); 3256segments.Add(new TextSegment(_textContainer.Start, segmentEnd, true));
MS\Internal\Documents\TextParagraphView.cs (2)
273return new TextSegment(lines[lineIndex].StartPosition, lines[lineIndex].GetContentEndPosition(), true); 480segments.Add(new TextSegment(_textContainer.Start, _textContainer.End, true));
System\Windows\Controls\TextAdaptor.cs (1)
541visibleTextSegments.Add(new TextSegment(visibleStart, visibleEnd, true));
System\Windows\Documents\DocumentSequenceTextView.cs (2)
370return new TextSegment(tpStart, tpEnd, true); 561parentSegments.Add(new TextSegment(ptpStart, ptpEnd,true));
System\Windows\Documents\FixedTextView.cs (3)
584 return new TextSegment(position, position, true); 615return new TextSegment(begin, end, true); 719list.Add(new TextSegment(this.Start, this.End, true));
System\windows\Documents\TextSegment.cs (1)
44this(startPosition, endPosition, false)