1 write to _cpFirst
PresentationCore (1)
MS\Internal\TextFormatting\FullTextLine.cs (1)
373
_cpFirst
= cpFirst;
26 references to _cpFirst
PresentationCore (26)
MS\Internal\TextFormatting\FullTextLine.cs (26)
768
_cpFirst
,
789
_cpFirst
+ line._metrics._cchLength,
851
CharacterHit characterHit = new CharacterHit(
_cpFirst
, 0);
974
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _metrics._cchLength);
994
if (characterHit.FirstCharacterIndex >=
_cpFirst
+ _metrics._cchLength)
1134
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _metrics._cchLength);
1227
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _metrics._cchLength);
1234
if ( characterHit.FirstCharacterIndex ==
_cpFirst
1259
&& caretStopIndex !=
_cpFirst
1370
offsetToNextCaretStopIndex = Math.Min(Length, lsrun.Length - caretStopIndex + lsrun.OffsetToFirstCp +
_cpFirst
);
1395
plsrunSpanRider.At(lscpVisisble -
_cpFirst
);
1413
while (lscpVisisble >=
_cpFirst
)
1415
plsrunSpanRider.At(lscpVisisble -
_cpFirst
);
1428
lscpVisisble =
_cpFirst
+ plsrunSpanRider.CurrentSpanStart;
1432
lscpVisisble =
_cpFirst
+ plsrunSpanRider.CurrentSpanStart - 1; // move to the end of previous span
1495
if(firstTextSourceCharacterIndex <
_cpFirst
)
1497
textLength += (firstTextSourceCharacterIndex -
_cpFirst
);
1498
firstTextSourceCharacterIndex =
_cpFirst
;
1501
if(firstTextSourceCharacterIndex >
_cpFirst
+ _metrics._cchLength - textLength)
1503
textLength = (
_cpFirst
+ _metrics._cchLength - firstTextSourceCharacterIndex);
1985
plsrunSpanRider.At(lscp -
_cpFirst
);
2212
return
_cpFirst
+ _metrics._cchLength - characterHit.FirstCharacterIndex - characterHit.TrailingLength;
2419
get { return
_cpFirst
; }
2665
int lscp =
_cpFirst
;
2700
return
_cpFirst
+ _metrics._cchLength;
2710
plsrunSpanRider.At(lscp -
_cpFirst
);