4 writes to _cpLast
PresentationFramework (4)
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (4)
38
_cpLast
= cpLast;
56
_cpLast
= other._cpLast;
208
_cpLast
= Math.Max(_cpLast, cpLast);
285
_cpLast
= _ranges[1];
12 references to _cpLast
PresentationFramework (12)
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (12)
56
_cpLast = other.
_cpLast
;
75
Merge(other._cpFirst, other.
_cpLast
);
101
_textContainer.CreatePointerAtOffset(
_cpLast
, LogicalDirection.Backward),
124
if (cpPos >= _cpFirst && cpPos <=
_cpLast
)
127
if (strict && (_cpFirst !=
_cpLast
))
130
cpPos ==
_cpLast
&& position.LogicalDirection == LogicalDirection.Forward)
177
endPosition = _textContainer.CreatePointerAtOffset(IsSimple ?
_cpLast
: _ranges[(_size - 1) * 2 + 1], LogicalDirection.Backward);
186
if (cpFirst >
_cpLast
|| cpLast < _cpFirst)
190
if (cpFirst >
_cpLast
)
193
_ranges[1] =
_cpLast
;
202
_ranges[3] =
_cpLast
;
208
_cpLast = Math.Max(
_cpLast
, cpLast);