1 write to _collapsedRange
PresentationCore (1)
MS\Internal\TextFormatting\FullTextLine.cs (1)
802
line.
_collapsedRange
= new TextCollapsedRange(
28 references to _collapsedRange
PresentationCore (28)
MS\Internal\TextFormatting\FullTextLine.cs (28)
831
if (
_collapsedRange
== null)
835
return new TextCollapsedRange[] {
_collapsedRange
};
874
&&
_collapsedRange
!= null
887
return new CharacterHit(
_collapsedRange
.TextSourceCharacterIndex,
_collapsedRange
.Length);
892
return new CharacterHit(
_collapsedRange
.TextSourceCharacterIndex, 0);
1015
&&
_collapsedRange
!= null
1016
&& characterHit.FirstCharacterIndex >=
_collapsedRange
.TextSourceCharacterIndex
1022
if ( characterHit.FirstCharacterIndex >=
_collapsedRange
.TextSourceCharacterIndex +
_collapsedRange
.Length
1319
&&
_collapsedRange
!= null
1320
&& currentIndex >=
_collapsedRange
.TextSourceCharacterIndex
1324
caretStopIndex =
_collapsedRange
.TextSourceCharacterIndex;
1326
if (currentIndex <
_collapsedRange
.TextSourceCharacterIndex +
_collapsedRange
.Length)
1327
offsetToNextCaretStopIndex =
_collapsedRange
.Length;
1577
&&
_collapsedRange
!= null
1578
&& firstTextSourceCharacterIndex <
_collapsedRange
.TextSourceCharacterIndex
1579
&& firstTextSourceCharacterIndex + textLength -
_collapsedRange
.TextSourceCharacterIndex >
_collapsedRange
.Length / 2
2014
&&
_collapsedRange
!= null
2015
&& cp <=
_collapsedRange
.TextSourceCharacterIndex
2016
&& cp + cchBounds >=
_collapsedRange
.TextSourceCharacterIndex
2017
&& cp + cchBounds <
_collapsedRange
.TextSourceCharacterIndex +
_collapsedRange
.Length)
2021
cchBounds =
_collapsedRange
.TextSourceCharacterIndex - cp;
2711
if (
_collapsedRange
!= null)
2712
return
_collapsedRange
.TextSourceCharacterIndex;