4 writes to _cpLast
PresentationFramework (4)
MS\Internal\Documents\TextContainerHelper.cs (4)
30
_cpLast
= cpLast;
48
_cpLast
= other._cpLast;
200
_cpLast
= Math.Max(_cpLast, cpLast);
277
_cpLast
= _ranges[1];
12 references to _cpLast
PresentationFramework (12)
MS\Internal\Documents\TextContainerHelper.cs (12)
48
_cpLast = other.
_cpLast
;
67
Merge(other._cpFirst, other.
_cpLast
);
93
_textContainer.CreatePointerAtOffset(
_cpLast
, LogicalDirection.Backward),
116
if (cpPos >= _cpFirst && cpPos <=
_cpLast
)
119
if (strict && (_cpFirst !=
_cpLast
))
122
cpPos ==
_cpLast
&& position.LogicalDirection == LogicalDirection.Forward)
169
endPosition = _textContainer.CreatePointerAtOffset(IsSimple ?
_cpLast
: _ranges[(_size - 1) * 2 + 1], LogicalDirection.Backward);
178
if (cpFirst >
_cpLast
|| cpLast < _cpFirst)
182
if (cpFirst >
_cpLast
)
185
_ranges[1] =
_cpLast
;
194
_ranges[3] =
_cpLast
;
200
_cpLast = Math.Max(
_cpLast
, cpLast);