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