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