1 write to _cpFirst
PresentationCore (1)
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
359_cpFirst = cpFirst;
24 references to _cpFirst
PresentationCore (24)
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (24)
460Invariant.Assert(currentIndex >= _cpFirst); 463int dcp = currentIndex - _cpFirst; 542_cpFirst, 662int first = _cpFirst; 667return new CharacterHit(_cpFirst, 0); 707TextFormatterImp.VerifyCaretCharacterHit(characterHit, _cpFirst, _cpLength); 721TextFormatterImp.VerifyCaretCharacterHit(characterHit, _cpFirst, _cpLength); 756TextFormatterImp.VerifyCaretCharacterHit(characterHit, _cpFirst, _cpLength); 764if (cpHit >= _cpFirst + _cpLength) 766cpHit = _cpFirst + _cpLength - 1; 828if (firstTextSourceCharacterIndex < _cpFirst) 830textLength += (firstTextSourceCharacterIndex - _cpFirst); 831firstTextSourceCharacterIndex = _cpFirst; 834if (firstTextSourceCharacterIndex + textLength > _cpFirst + _cpLength) 836textLength = _cpFirst + _cpLength - firstTextSourceCharacterIndex; 849int dcp = firstTextSourceCharacterIndex - _cpFirst; 863int first = Math.Max(ich, dcp) + _cpFirst; 864int afterLast = Math.Min(ich + run.Length, dcp + textLength) + _cpFirst; 932int currentCp = _cpFirst; 1221if (cp >= _cpFirst + _cpLength) 1252if (cp < _cpFirst) 1291Invariant.Assert(cp >= _cpFirst && cp < _cpFirst + _cpLength); 1292cpRunStart= _cpFirst;