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