2 writes to _navigator
PresentationFramework (2)
src\Framework\System\Windows\Documents\RangeContentEnumerator.cs (2)
184
_navigator
= new TextPointer(_start);
233
_navigator
= null;
24 references to _navigator
PresentationFramework (24)
src\Framework\System\Windows\Documents\RangeContentEnumerator.cs (24)
79
if (
_navigator
== null)
96
if (
_navigator
.CompareTo(_end) >= 0)
112
switch (
_navigator
.GetPointerContext(LogicalDirection.Forward))
120
runLength =
_navigator
.GetTextRunLength(LogicalDirection.Forward);
122
_navigator
.GetTextInRun(LogicalDirection.Forward, _buffer, offset, runLength);
124
_navigator
.MoveToNextContextPosition(LogicalDirection.Forward);
126
while (
_navigator
.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text);
134
_currentCache =
_navigator
.GetAdjacentElement(LogicalDirection.Forward);
137
_navigator
.MoveToNextContextPosition(LogicalDirection.Forward);
142
_navigator
.MoveToNextContextPosition(LogicalDirection.Forward);
143
_currentCache =
_navigator
.Parent;
146
_navigator
.MoveToElementEdge(ElementEdge.AfterEnd);
177
if (
_navigator
!= null &&
_navigator
.CompareTo(_end) >= 0)
182
if (
_navigator
== null)
188
switch (
_navigator
.GetPointerContext(LogicalDirection.Forward))
195
_navigator
.MoveToNextContextPosition(LogicalDirection.Forward);
197
while (
_navigator
.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text &&
_navigator
.CompareTo(_end) < 0);
202
_navigator
.MoveToNextContextPosition(LogicalDirection.Forward);
207
_navigator
.MoveToNextContextPosition(LogicalDirection.Forward);
208
_navigator
.MoveToPosition(((TextElement)
_navigator
.Parent).ElementEnd);
219
return (
_navigator
.CompareTo(_end) < 0);