4 writes to _textLength
PresentationFramework (4)
System\Windows\Documents\Speller.cs (4)
1663
_textLength
= 0;
1708
_textLength
+= runCount;
1723
_textLength
++;
1731
_textLength
++;
20 references to _textLength
PresentationFramework (20)
System\Windows\Documents\Speller.cs (20)
1675
_contentStartOffset =
_textLength
;
1679
_contentEndOffset =
_textLength
;
1686
runCount = Math.Min(runCount, _text.Length -
_textLength
);
1689
position.GetTextInRun(LogicalDirection.Forward, _text,
_textLength
, runCount);
1691
for (i =
_textLength
; i <
_textLength
+ runCount; i++)
1699
_contentStartOffset =
_textLength
+ position.GetOffsetToPosition(contentStart);
1704
_contentEndOffset =
_textLength
+ position.GetOffsetToPosition(contentEnd);
1721
_text[
_textLength
] = ' ';
1722
_positionMap[
_textLength
] =
_textLength
+ inlineCount;
1729
_text[
_textLength
] = '\xf8ff'; // Unicode private use.
1730
_positionMap[
_textLength
] =
_textLength
+ inlineCount;
1740
_contentEndOffset =
_textLength
;
1743
if (
_textLength
> 0)
1745
_positionMap[
_textLength
] = _positionMap[
_textLength
- 1] + 1;
1759
Invariant.Assert(offset >= 0 && offset <=
_textLength
);
1789
get { return
_textLength
; }