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
,
640
int first =
_cpFirst
;
645
return new CharacterHit(
_cpFirst
, 0);
685
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _cpLength);
699
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _cpLength);
734
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _cpLength);
742
if (cpHit >=
_cpFirst
+ _cpLength)
744
cpHit =
_cpFirst
+ _cpLength - 1;
803
if (firstTextSourceCharacterIndex <
_cpFirst
)
805
textLength += (firstTextSourceCharacterIndex -
_cpFirst
);
806
firstTextSourceCharacterIndex =
_cpFirst
;
809
if (firstTextSourceCharacterIndex + textLength >
_cpFirst
+ _cpLength)
811
textLength =
_cpFirst
+ _cpLength - firstTextSourceCharacterIndex;
824
int dcp = firstTextSourceCharacterIndex -
_cpFirst
;
838
int first = Math.Max(ich, dcp) +
_cpFirst
;
839
int afterLast = Math.Min(ich + run.Length, dcp + textLength) +
_cpFirst
;
903
int currentCp =
_cpFirst
;
1192
if (cp >=
_cpFirst
+ _cpLength)
1223
if (cp <
_cpFirst
)
1262
Invariant.Assert(cp >=
_cpFirst
&& cp <
_cpFirst
+ _cpLength);
1263
cpRunStart=
_cpFirst
;