13 references to GetRunEndPosition
PresentationFramework (13)
System\Windows\Documents\SpellerStatusTable.cs (13)
136
Invariant.Assert(
GetRunEndPosition
(runIndex).CompareTo(end) >= 0);
153
if (
GetRunEndPosition
(runIndex).CompareTo(end) > 0)
199
transitionPosition =
GetRunEndPosition
(index);
225
transitionPosition =
GetRunEndPosition
(i);
280
end = (direction == LogicalDirection.Forward) ?
GetRunEndPosition
(index) : run.Position.CreateStaticPointer();
356
else if (direction == LogicalDirection.Forward && position.CompareTo(
GetRunEndPosition
(index)) >= 0 ||
357
direction == LogicalDirection.Backward && position.CompareTo(
GetRunEndPosition
(index)) > 0)
463
if (
GetRunEndPosition
(index).CompareTo(end) <= 0)
486
else if (
GetRunEndPosition
(index).CompareTo(end) <= 0)
627
if (runPosition.CompareTo(position) > 0 && runPosition.CompareTo(
GetRunEndPosition
(i)) != 0)
700
Invariant.Assert(run.Position.CompareTo(
GetRunEndPosition
(i)) <= 0, "Found negative width run!");
702
Invariant.Assert(i == 0 ||
GetRunEndPosition
(i - 1).CompareTo(run.Position) <= 0, "Found overlapping runs!");
753
return
GetRunEndPosition
(index).CreateDynamicTextPointer(LogicalDirection.Forward);