4 writes to _cpFirst
PresentationFramework (4)
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (4)
37
_cpFirst
= cpFirst;
55
_cpFirst
= other._cpFirst;
207
_cpFirst
= Math.Min(_cpFirst, cpFirst);
284
_cpFirst
= _ranges[0];
11 references to _cpFirst
PresentationFramework (11)
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (11)
55
_cpFirst = other.
_cpFirst
;
75
Merge(other.
_cpFirst
, other._cpLast);
100
_textContainer.CreatePointerAtOffset(
_cpFirst
, LogicalDirection.Forward),
124
if (cpPos >=
_cpFirst
&& cpPos <= _cpLast)
127
if (strict && (
_cpFirst
!= _cpLast))
129
if (cpPos ==
_cpFirst
&& position.LogicalDirection == LogicalDirection.Backward ||
165
startPosition = _textContainer.CreatePointerAtOffset(IsSimple ?
_cpFirst
: _ranges[0], LogicalDirection.Forward);
186
if (cpFirst > _cpLast || cpLast <
_cpFirst
)
192
_ranges[0] =
_cpFirst
;
201
_ranges[2] =
_cpFirst
;
207
_cpFirst = Math.Min(
_cpFirst
, cpFirst);