1 write to _cpFirst
PresentationCore (1)
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
355
_cpFirst
= cpFirst;
24 references to _cpFirst
PresentationCore (24)
MS\Internal\TextFormatting\SimpleTextLine.cs (24)
456
Invariant.Assert(currentIndex >=
_cpFirst
);
459
int dcp = currentIndex -
_cpFirst
;
535
_cpFirst
,
655
int first =
_cpFirst
;
660
return new CharacterHit(
_cpFirst
, 0);
700
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _cpLength);
714
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _cpLength);
749
TextFormatterImp.VerifyCaretCharacterHit(characterHit,
_cpFirst
, _cpLength);
757
if (cpHit >=
_cpFirst
+ _cpLength)
759
cpHit =
_cpFirst
+ _cpLength - 1;
818
if (firstTextSourceCharacterIndex <
_cpFirst
)
820
textLength += (firstTextSourceCharacterIndex -
_cpFirst
);
821
firstTextSourceCharacterIndex =
_cpFirst
;
824
if (firstTextSourceCharacterIndex + textLength >
_cpFirst
+ _cpLength)
826
textLength =
_cpFirst
+ _cpLength - firstTextSourceCharacterIndex;
839
int dcp = firstTextSourceCharacterIndex -
_cpFirst
;
853
int first = Math.Max(ich, dcp) +
_cpFirst
;
854
int afterLast = Math.Min(ich + run.Length, dcp + textLength) +
_cpFirst
;
918
int currentCp =
_cpFirst
;
1207
if (cp >=
_cpFirst
+ _cpLength)
1238
if (cp <
_cpFirst
)
1277
Invariant.Assert(cp >=
_cpFirst
&& cp <
_cpFirst
+ _cpLength);
1278
cpRunStart=
_cpFirst
;