1 write to _cpFirst
PresentationCore (1)
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
345
_cpFirst
= cpFirst;
24 references to _cpFirst
PresentationCore (24)
MS\Internal\TextFormatting\SimpleTextLine.cs (24)
446
Invariant.Assert(currentIndex >=
_cpFirst
);
449
int dcp = currentIndex -
_cpFirst
;
525
_cpFirst
,
639
int first =
_cpFirst
;
644
return new CharacterHit(
_cpFirst
, 0);
684
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _cpLength);
698
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _cpLength);
733
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _cpLength);
741
if (cpHit >=
_cpFirst
+ _cpLength)
743
cpHit =
_cpFirst
+ _cpLength - 1;
802
if (firstTextSourceCharacterIndex <
_cpFirst
)
804
textLength += (firstTextSourceCharacterIndex -
_cpFirst
);
805
firstTextSourceCharacterIndex =
_cpFirst
;
808
if (firstTextSourceCharacterIndex + textLength >
_cpFirst
+ _cpLength)
810
textLength =
_cpFirst
+ _cpLength - firstTextSourceCharacterIndex;
823
int dcp = firstTextSourceCharacterIndex -
_cpFirst
;
837
int first = Math.Max(ich, dcp) +
_cpFirst
;
838
int afterLast = Math.Min(ich + run.Length, dcp + textLength) +
_cpFirst
;
902
int currentCp =
_cpFirst
;
1191
if (cp >=
_cpFirst
+ _cpLength)
1222
if (cp <
_cpFirst
)
1261
Invariant.Assert(cp >=
_cpFirst
&& cp <
_cpFirst
+ _cpLength);
1262
cpRunStart=
_cpFirst
;