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