4 writes to _textLength
PresentationFramework (4)
System\Windows\Documents\Speller.cs (4)
1662
_textLength
= 0;
1707
_textLength
+= runCount;
1722
_textLength
++;
1730
_textLength
++;
20 references to _textLength
PresentationFramework (20)
System\Windows\Documents\Speller.cs (20)
1674
_contentStartOffset =
_textLength
;
1678
_contentEndOffset =
_textLength
;
1685
runCount = Math.Min(runCount, _text.Length -
_textLength
);
1688
position.GetTextInRun(LogicalDirection.Forward, _text,
_textLength
, runCount);
1690
for (i =
_textLength
; i <
_textLength
+ runCount; i++)
1698
_contentStartOffset =
_textLength
+ position.GetOffsetToPosition(contentStart);
1703
_contentEndOffset =
_textLength
+ position.GetOffsetToPosition(contentEnd);
1720
_text[
_textLength
] = ' ';
1721
_positionMap[
_textLength
] =
_textLength
+ inlineCount;
1728
_text[
_textLength
] = '\xf8ff'; // Unicode private use.
1729
_positionMap[
_textLength
] =
_textLength
+ inlineCount;
1739
_contentEndOffset =
_textLength
;
1742
if (
_textLength
> 0)
1744
_positionMap[
_textLength
] = _positionMap[
_textLength
- 1] + 1;
1758
Invariant.Assert(offset >= 0 && offset <=
_textLength
);
1788
get { return
_textLength
; }