16 references to TextSegment
PresentationFramework (16)
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
993return new TextSegment(start, end, true); 1312segments.Add(new TextSegment(start, end, true));
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (2)
99segments.Add(new TextSegment( 109segments.Add(new TextSegment(
src\Framework\MS\Internal\Documents\TextDocumentView.cs (3)
2347lineRange = new TextSegment(((TextParagraphResult)paragraph).EndPosition, ((TextParagraphResult)paragraph).EndPosition, true); 2354lineRange = new TextSegment(lines[lineIndex].StartPosition, lines[lineIndex].GetContentEndPosition(), true); 3302segments.Add(new TextSegment(_textContainer.Start, segmentEnd, true));
src\Framework\MS\Internal\Documents\TextParagraphView.cs (2)
301return new TextSegment(lines[lineIndex].StartPosition, lines[lineIndex].GetContentEndPosition(), true); 511segments.Add(new TextSegment(_textContainer.Start, _textContainer.End, true));
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
525visibleTextSegments.Add(new TextSegment(visibleStart, visibleEnd, true));
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (2)
393return new TextSegment(tpStart, tpEnd, true); 584parentSegments.Add(new TextSegment(ptpStart, ptpEnd,true));
src\Framework\System\Windows\Documents\FixedTextView.cs (3)
606 return new TextSegment(position, position, true); 637return new TextSegment(begin, end, true); 742list.Add(new TextSegment(this.Start, this.End, true));
src\Framework\System\windows\Documents\TextSegment.cs (1)
47this(startPosition, endPosition, false)