4 writes to _cpLast
PresentationFramework (4)
MS\Internal\Documents\TextContainerHelper.cs (4)
29_cpLast = cpLast; 47_cpLast = other._cpLast; 199_cpLast = Math.Max(_cpLast, cpLast); 276_cpLast = _ranges[1];
12 references to _cpLast
PresentationFramework (12)
MS\Internal\Documents\TextContainerHelper.cs (12)
47_cpLast = other._cpLast; 66Merge(other._cpFirst, other._cpLast); 92_textContainer.CreatePointerAtOffset(_cpLast, LogicalDirection.Backward), 115if (cpPos >= _cpFirst && cpPos <= _cpLast) 118if (strict && (_cpFirst != _cpLast)) 121cpPos == _cpLast && position.LogicalDirection == LogicalDirection.Forward) 168endPosition = _textContainer.CreatePointerAtOffset(IsSimple ? _cpLast : _ranges[(_size - 1) * 2 + 1], LogicalDirection.Backward); 177if (cpFirst > _cpLast || cpLast < _cpFirst) 181if (cpFirst > _cpLast) 184_ranges[1] = _cpLast; 193_ranges[3] = _cpLast; 199_cpLast = Math.Max(_cpLast, cpLast);