1 write to _cpFirst
PresentationCore (1)
MS\Internal\TextFormatting\FullTextLine.cs (1)
374
_cpFirst
= cpFirst;
26 references to _cpFirst
PresentationCore (26)
MS\Internal\TextFormatting\FullTextLine.cs (26)
769
_cpFirst
,
790
_cpFirst
+ line._metrics._cchLength,
852
CharacterHit characterHit = new CharacterHit(
_cpFirst
, 0);
975
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _metrics._cchLength);
995
if (characterHit.FirstCharacterIndex >=
_cpFirst
+ _metrics._cchLength)
1135
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _metrics._cchLength);
1228
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _metrics._cchLength);
1235
if ( characterHit.FirstCharacterIndex ==
_cpFirst
1260
&& caretStopIndex !=
_cpFirst
1371
offsetToNextCaretStopIndex = Math.Min(Length, lsrun.Length - caretStopIndex + lsrun.OffsetToFirstCp +
_cpFirst
);
1396
plsrunSpanRider.At(lscpVisisble -
_cpFirst
);
1414
while (lscpVisisble >=
_cpFirst
)
1416
plsrunSpanRider.At(lscpVisisble -
_cpFirst
);
1429
lscpVisisble =
_cpFirst
+ plsrunSpanRider.CurrentSpanStart;
1433
lscpVisisble =
_cpFirst
+ plsrunSpanRider.CurrentSpanStart - 1; // move to the end of previous span
1496
if(firstTextSourceCharacterIndex <
_cpFirst
)
1498
textLength += (firstTextSourceCharacterIndex -
_cpFirst
);
1499
firstTextSourceCharacterIndex =
_cpFirst
;
1502
if(firstTextSourceCharacterIndex >
_cpFirst
+ _metrics._cchLength - textLength)
1504
textLength = (
_cpFirst
+ _metrics._cchLength - firstTextSourceCharacterIndex);
1986
plsrunSpanRider.At(lscp -
_cpFirst
);
2213
return
_cpFirst
+ _metrics._cchLength - characterHit.FirstCharacterIndex - characterHit.TrailingLength;
2420
get { return
_cpFirst
; }
2666
int lscp =
_cpFirst
;
2701
return
_cpFirst
+ _metrics._cchLength;
2711
plsrunSpanRider.At(lscp -
_cpFirst
);