1 write to _cpFirst
PresentationCore (1)
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
355_cpFirst = cpFirst;
24 references to _cpFirst
PresentationCore (24)
MS\Internal\TextFormatting\SimpleTextLine.cs (24)
456Invariant.Assert(currentIndex >= _cpFirst); 459int dcp = currentIndex - _cpFirst; 535_cpFirst, 655int first = _cpFirst; 660return new CharacterHit(_cpFirst, 0); 700TextFormatterImp.VerifyCaretCharacterHit(characterHit, _cpFirst, _cpLength); 714TextFormatterImp.VerifyCaretCharacterHit(characterHit, _cpFirst, _cpLength); 749TextFormatterImp.VerifyCaretCharacterHit(characterHit, _cpFirst, _cpLength); 757if (cpHit >= _cpFirst + _cpLength) 759cpHit = _cpFirst + _cpLength - 1; 818if (firstTextSourceCharacterIndex < _cpFirst) 820textLength += (firstTextSourceCharacterIndex - _cpFirst); 821firstTextSourceCharacterIndex = _cpFirst; 824if (firstTextSourceCharacterIndex + textLength > _cpFirst + _cpLength) 826textLength = _cpFirst + _cpLength - firstTextSourceCharacterIndex; 839int dcp = firstTextSourceCharacterIndex - _cpFirst; 853int first = Math.Max(ich, dcp) + _cpFirst; 854int afterLast = Math.Min(ich + run.Length, dcp + textLength) + _cpFirst; 918int currentCp = _cpFirst; 1207if (cp >= _cpFirst + _cpLength) 1238if (cp < _cpFirst) 1277Invariant.Assert(cp >= _cpFirst && cp < _cpFirst + _cpLength); 1278cpRunStart= _cpFirst;