4 writes to _cpLast
PresentationFramework (4)
MS\Internal\Documents\TextContainerHelper.cs (4)
33
_cpLast
= cpLast;
51
_cpLast
= other._cpLast;
203
_cpLast
= Math.Max(_cpLast, cpLast);
280
_cpLast
= _ranges[1];
12 references to _cpLast
PresentationFramework (12)
MS\Internal\Documents\TextContainerHelper.cs (12)
51
_cpLast = other.
_cpLast
;
70
Merge(other._cpFirst, other.
_cpLast
);
96
_textContainer.CreatePointerAtOffset(
_cpLast
, LogicalDirection.Backward),
119
if (cpPos >= _cpFirst && cpPos <=
_cpLast
)
122
if (strict && (_cpFirst !=
_cpLast
))
125
cpPos ==
_cpLast
&& position.LogicalDirection == LogicalDirection.Forward)
172
endPosition = _textContainer.CreatePointerAtOffset(IsSimple ?
_cpLast
: _ranges[(_size - 1) * 2 + 1], LogicalDirection.Backward);
181
if (cpFirst >
_cpLast
|| cpLast < _cpFirst)
185
if (cpFirst >
_cpLast
)
188
_ranges[1] =
_cpLast
;
197
_ranges[3] =
_cpLast
;
203
_cpLast = Math.Max(
_cpLast
, cpLast);