16 references to TextSegment
PresentationFramework (16)
MS\Internal\Documents\TextBoxView.cs (2)
989
return new
TextSegment
(start, end, true);
1310
segments.Add(new
TextSegment
(start, end, true));
MS\Internal\Documents\TextContainerHelper.cs (2)
94
segments.Add(new
TextSegment
(
104
segments.Add(new
TextSegment
(
MS\Internal\Documents\TextDocumentView.cs (3)
2339
lineRange = new
TextSegment
(((TextParagraphResult)paragraph).EndPosition, ((TextParagraphResult)paragraph).EndPosition, true);
2346
lineRange = new
TextSegment
(lines[lineIndex].StartPosition, lines[lineIndex].GetContentEndPosition(), true);
3293
segments.Add(new
TextSegment
(_textContainer.Start, segmentEnd, true));
MS\Internal\Documents\TextParagraphView.cs (2)
279
return new
TextSegment
(lines[lineIndex].StartPosition, lines[lineIndex].GetContentEndPosition(), true);
486
segments.Add(new
TextSegment
(_textContainer.Start, _textContainer.End, true));
System\Windows\Controls\TextAdaptor.cs (1)
544
visibleTextSegments.Add(new
TextSegment
(visibleStart, visibleEnd, true));
System\Windows\Documents\DocumentSequenceTextView.cs (2)
378
return new
TextSegment
(tpStart, tpEnd, true);
569
parentSegments.Add(new
TextSegment
(ptpStart, ptpEnd,true));
System\Windows\Documents\FixedTextView.cs (3)
597
return new
TextSegment
(position, position, true);
628
return new
TextSegment
(begin, end, true);
732
list.Add(new
TextSegment
(this.Start, this.End, true));
System\windows\Documents\TextSegment.cs (1)
45
this
(startPosition, endPosition, false)