System\Windows\Documents\TextRangeEdit.cs (9)
427if (parent is Span && parent.ContentEnd.CompareTo(end) > 0)
549newElement = InsertElementClone(position, element.ContentEnd, element);
809TextPointer contentEnd = block.ContentEnd;
1303previousPosition = ((Inline)previousPosition.GetAdjacentElement(LogicalDirection.Backward)).ContentEnd;
2181ClearPropertyValueFromSpansAndRuns(inline.ContentStart, inline.ContentEnd, formattingProperty);
2211ClearPropertyValueFromSpansAndRuns(span.ContentStart, span.ContentEnd, formattingProperty);
2220Invariant.Assert(start.Paragraph.ContentEnd.CompareTo(end) < 0);
2223SetStructuralInlineProperty(start, start.Paragraph.ContentEnd, formattingProperty, value);
2242SetStructuralInlineProperty(paragraph.ContentStart, paragraph.ContentEnd, formattingProperty, value);