2 writes to Position
PresentationFramework (2)
src\Framework\System\Windows\Documents\SpellerStatusTable.cs (2)
476
run.
Position
= end;
492
GetRun(index + 1).
Position
= start;
19 references to Position
PresentationFramework (19)
src\Framework\System\Windows\Documents\SpellerStatusTable.cs (19)
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!");
764
position = GetRun(index + 1).
Position
.CreateStaticPointer();
769
ITextContainer textContainer = run.
Position
.TextContainer;