1 write to _cpFirst
PresentationCore (1)
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
345_cpFirst = cpFirst;
24 references to _cpFirst
PresentationCore (24)
MS\Internal\TextFormatting\SimpleTextLine.cs (24)
446Invariant.Assert(currentIndex >= _cpFirst); 449int dcp = currentIndex - _cpFirst; 525_cpFirst, 639int first = _cpFirst; 644return new CharacterHit(_cpFirst, 0); 684TextFormatterImp.VerifyCaretCharacterHit(characterHit, _cpFirst, _cpLength); 698TextFormatterImp.VerifyCaretCharacterHit(characterHit, _cpFirst, _cpLength); 733TextFormatterImp.VerifyCaretCharacterHit(characterHit, _cpFirst, _cpLength); 741if (cpHit >= _cpFirst + _cpLength) 743cpHit = _cpFirst + _cpLength - 1; 802if (firstTextSourceCharacterIndex < _cpFirst) 804textLength += (firstTextSourceCharacterIndex - _cpFirst); 805firstTextSourceCharacterIndex = _cpFirst; 808if (firstTextSourceCharacterIndex + textLength > _cpFirst + _cpLength) 810textLength = _cpFirst + _cpLength - firstTextSourceCharacterIndex; 823int dcp = firstTextSourceCharacterIndex - _cpFirst; 837int first = Math.Max(ich, dcp) + _cpFirst; 838int afterLast = Math.Min(ich + run.Length, dcp + textLength) + _cpFirst; 902int currentCp = _cpFirst; 1191if (cp >= _cpFirst + _cpLength) 1222if (cp < _cpFirst) 1261Invariant.Assert(cp >= _cpFirst && cp < _cpFirst + _cpLength); 1262cpRunStart= _cpFirst;