2 writes to Position
PresentationFramework (2)
System\Windows\Documents\SpellerStatusTable.cs (2)
474run.Position = end; 490GetRun(index + 1).Position = start;
21 references to Position
PresentationFramework (21)
System\Windows\Documents\SpellerStatusTable.cs (21)
99start = TextPointerBase.Max(searchStart, run.Position); 133Invariant.Assert(run.Position.CompareTo(start) <= 0); 136if (run.Position.CompareTo(start) == 0) 205transitionPosition = GetRun(i).Position.CreateStaticPointer(); 215transitionPosition = GetRun(index).Position.CreateStaticPointer(); 255start = GetRun(index).Position; 278end = (direction == LogicalDirection.Forward) ? GetRunEndPosition(index) : run.Position.CreateStaticPointer(); 348if (direction == LogicalDirection.Forward && position.CompareTo(run.Position) < 0 || 349direction == LogicalDirection.Backward && position.CompareTo(run.Position) <= 0) 459if (run.Position.CompareTo(start) >= 0) 518errorStart = run.Position; 623ITextPointer runPosition = GetRun(i).Position; 659errorStart = GetRun(index).Position; 689Invariant.Assert(run.Position.CompareTo(run.Position.TextContainer.Start) == 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!"); 737Debug.WriteLine($"{i}: {run.Position.TextContainer.Start.GetOffsetToPosition(run.Position)} {runType}"); 761position = GetRun(index + 1).Position.CreateStaticPointer(); 766ITextContainer textContainer = run.Position.TextContainer;