2 writes to _navigator
PresentationFramework (2)
System\Windows\Documents\RangeContentEnumerator.cs (2)
166
_navigator
= new TextPointer(_start);
215
_navigator
= null;
24 references to _navigator
PresentationFramework (24)
System\Windows\Documents\RangeContentEnumerator.cs (24)
64
if (
_navigator
== null)
78
if (
_navigator
.CompareTo(_end) >= 0)
94
switch (
_navigator
.GetPointerContext(LogicalDirection.Forward))
102
runLength =
_navigator
.GetTextRunLength(LogicalDirection.Forward);
104
_navigator
.GetTextInRun(LogicalDirection.Forward, _buffer, offset, runLength);
106
_navigator
.MoveToNextContextPosition(LogicalDirection.Forward);
108
while (
_navigator
.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text);
116
_currentCache =
_navigator
.GetAdjacentElement(LogicalDirection.Forward);
119
_navigator
.MoveToNextContextPosition(LogicalDirection.Forward);
124
_navigator
.MoveToNextContextPosition(LogicalDirection.Forward);
125
_currentCache =
_navigator
.Parent;
128
_navigator
.MoveToElementEdge(ElementEdge.AfterEnd);
159
if (
_navigator
!= null &&
_navigator
.CompareTo(_end) >= 0)
164
if (
_navigator
== null)
170
switch (
_navigator
.GetPointerContext(LogicalDirection.Forward))
177
_navigator
.MoveToNextContextPosition(LogicalDirection.Forward);
179
while (
_navigator
.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text &&
_navigator
.CompareTo(_end) < 0);
184
_navigator
.MoveToNextContextPosition(LogicalDirection.Forward);
189
_navigator
.MoveToNextContextPosition(LogicalDirection.Forward);
190
_navigator
.MoveToPosition(((TextElement)
_navigator
.Parent).ElementEnd);
201
return (
_navigator
.CompareTo(_end) < 0);