2 writes to Position
PresentationFramework (2)
System\Windows\Documents\SpellerStatusTable.cs (2)
476
run.
Position
= end;
492
GetRun(index + 1).
Position
= start;
21 references to Position
PresentationFramework (21)
System\Windows\Documents\SpellerStatusTable.cs (21)
101
start = TextPointerBase.Max(searchStart, run.
Position
);
135
Invariant.Assert(run.
Position
.CompareTo(start) <= 0);
138
if (run.
Position
.CompareTo(start) == 0)
207
transitionPosition = GetRun(i).
Position
.CreateStaticPointer();
217
transitionPosition = GetRun(index).
Position
.CreateStaticPointer();
257
start = GetRun(index).
Position
;
280
end = (direction == LogicalDirection.Forward) ? GetRunEndPosition(index) : run.
Position
.CreateStaticPointer();
350
if (direction == LogicalDirection.Forward && position.CompareTo(run.
Position
) < 0 ||
351
direction == LogicalDirection.Backward && position.CompareTo(run.
Position
) <= 0)
461
if (run.
Position
.CompareTo(start) >= 0)
520
errorStart = run.
Position
;
625
ITextPointer runPosition = GetRun(i).
Position
;
661
errorStart = GetRun(index).
Position
;
691
Invariant.Assert(run.
Position
.CompareTo(run.
Position
.TextContainer.Start) == 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!");
739
Debug.WriteLine($"{i}: {run.
Position
.TextContainer.Start.GetOffsetToPosition(run.
Position
)} {runType}");
763
position = GetRun(index + 1).
Position
.CreateStaticPointer();
768
ITextContainer textContainer = run.
Position
.TextContainer;