13 references to GetRunEndPosition
PresentationFramework (13)
System\Windows\Documents\SpellerStatusTable.cs (13)
134
Invariant.Assert(
GetRunEndPosition
(runIndex).CompareTo(end) >= 0);
151
if (
GetRunEndPosition
(runIndex).CompareTo(end) > 0)
197
transitionPosition =
GetRunEndPosition
(index);
223
transitionPosition =
GetRunEndPosition
(i);
278
end = (direction == LogicalDirection.Forward) ?
GetRunEndPosition
(index) : run.Position.CreateStaticPointer();
354
else if (direction == LogicalDirection.Forward && position.CompareTo(
GetRunEndPosition
(index)) >= 0 ||
355
direction == LogicalDirection.Backward && position.CompareTo(
GetRunEndPosition
(index)) > 0)
461
if (
GetRunEndPosition
(index).CompareTo(end) <= 0)
484
else if (
GetRunEndPosition
(index).CompareTo(end) <= 0)
625
if (runPosition.CompareTo(position) > 0 && runPosition.CompareTo(
GetRunEndPosition
(i)) != 0)
698
Invariant.Assert(run.Position.CompareTo(
GetRunEndPosition
(i)) <= 0, "Found negative width run!");
700
Invariant.Assert(i == 0 ||
GetRunEndPosition
(i - 1).CompareTo(run.Position) <= 0, "Found overlapping runs!");
751
return
GetRunEndPosition
(index).CreateDynamicTextPointer(LogicalDirection.Forward);