1 write to _cpFirst
PresentationCore (1)
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
359
_cpFirst
= cpFirst;
24 references to _cpFirst
PresentationCore (24)
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (24)
460
Invariant.Assert(currentIndex >=
_cpFirst
);
463
int dcp = currentIndex -
_cpFirst
;
542
_cpFirst
,
662
int first =
_cpFirst
;
667
return new CharacterHit(
_cpFirst
, 0);
707
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _cpLength);
721
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _cpLength);
756
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _cpLength);
764
if (cpHit >=
_cpFirst
+ _cpLength)
766
cpHit =
_cpFirst
+ _cpLength - 1;
828
if (firstTextSourceCharacterIndex <
_cpFirst
)
830
textLength += (firstTextSourceCharacterIndex -
_cpFirst
);
831
firstTextSourceCharacterIndex =
_cpFirst
;
834
if (firstTextSourceCharacterIndex + textLength >
_cpFirst
+ _cpLength)
836
textLength =
_cpFirst
+ _cpLength - firstTextSourceCharacterIndex;
849
int dcp = firstTextSourceCharacterIndex -
_cpFirst
;
863
int first = Math.Max(ich, dcp) +
_cpFirst
;
864
int afterLast = Math.Min(ich + run.Length, dcp + textLength) +
_cpFirst
;
932
int currentCp =
_cpFirst
;
1221
if (cp >=
_cpFirst
+ _cpLength)
1252
if (cp <
_cpFirst
)
1291
Invariant.Assert(cp >=
_cpFirst
&& cp <
_cpFirst
+ _cpLength);
1292
cpRunStart=
_cpFirst
;