System\Windows\Documents\TextRangeEdit.cs (9)
425if (parent is Span && parent.ContentEnd.CompareTo(end) > 0)
547newElement = InsertElementClone(position, element.ContentEnd, element);
807TextPointer contentEnd = block.ContentEnd;
1301previousPosition = ((Inline)previousPosition.GetAdjacentElement(LogicalDirection.Backward)).ContentEnd;
2179ClearPropertyValueFromSpansAndRuns(inline.ContentStart, inline.ContentEnd, formattingProperty);
2209ClearPropertyValueFromSpansAndRuns(span.ContentStart, span.ContentEnd, formattingProperty);
2218Invariant.Assert(start.Paragraph.ContentEnd.CompareTo(end) < 0);
2221SetStructuralInlineProperty(start, start.Paragraph.ContentEnd, formattingProperty, value);
2240SetStructuralInlineProperty(paragraph.ContentStart, paragraph.ContentEnd, formattingProperty, value);