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, 646int first = _cpFirst; 651return new CharacterHit(_cpFirst, 0); 691TextFormatterImp.VerifyCaretCharacterHit(characterHit, _cpFirst, _cpLength); 705TextFormatterImp.VerifyCaretCharacterHit(characterHit, _cpFirst, _cpLength); 740TextFormatterImp.VerifyCaretCharacterHit(characterHit, _cpFirst, _cpLength); 748if (cpHit >= _cpFirst + _cpLength) 750cpHit = _cpFirst + _cpLength - 1; 809if (firstTextSourceCharacterIndex < _cpFirst) 811textLength += (firstTextSourceCharacterIndex - _cpFirst); 812firstTextSourceCharacterIndex = _cpFirst; 815if (firstTextSourceCharacterIndex + textLength > _cpFirst + _cpLength) 817textLength = _cpFirst + _cpLength - firstTextSourceCharacterIndex; 830int dcp = firstTextSourceCharacterIndex - _cpFirst; 844int first = Math.Max(ich, dcp) + _cpFirst; 845int afterLast = Math.Min(ich + run.Length, dcp + textLength) + _cpFirst; 909int currentCp = _cpFirst; 1198if (cp >= _cpFirst + _cpLength) 1229if (cp < _cpFirst) 1268Invariant.Assert(cp >= _cpFirst && cp < _cpFirst + _cpLength); 1269cpRunStart= _cpFirst;