1 write to _cpFirst
PresentationCore (1)
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
346_cpFirst = cpFirst;
24 references to _cpFirst
PresentationCore (24)
MS\Internal\TextFormatting\SimpleTextLine.cs (24)
447Invariant.Assert(currentIndex >= _cpFirst); 450int dcp = currentIndex - _cpFirst; 526_cpFirst, 640int first = _cpFirst; 645return new CharacterHit(_cpFirst, 0); 685TextFormatterImp.VerifyCaretCharacterHit(characterHit, _cpFirst, _cpLength); 699TextFormatterImp.VerifyCaretCharacterHit(characterHit, _cpFirst, _cpLength); 734TextFormatterImp.VerifyCaretCharacterHit(characterHit, _cpFirst, _cpLength); 742if (cpHit >= _cpFirst + _cpLength) 744cpHit = _cpFirst + _cpLength - 1; 803if (firstTextSourceCharacterIndex < _cpFirst) 805textLength += (firstTextSourceCharacterIndex - _cpFirst); 806firstTextSourceCharacterIndex = _cpFirst; 809if (firstTextSourceCharacterIndex + textLength > _cpFirst + _cpLength) 811textLength = _cpFirst + _cpLength - firstTextSourceCharacterIndex; 824int dcp = firstTextSourceCharacterIndex - _cpFirst; 838int first = Math.Max(ich, dcp) + _cpFirst; 839int afterLast = Math.Min(ich + run.Length, dcp + textLength) + _cpFirst; 903int currentCp = _cpFirst; 1192if (cp >= _cpFirst + _cpLength) 1223if (cp < _cpFirst) 1262Invariant.Assert(cp >= _cpFirst && cp < _cpFirst + _cpLength); 1263cpRunStart= _cpFirst;