4 writes to _textLength
PresentationFramework (4)
System\Windows\Documents\Speller.cs (4)
1695
_textLength
= 0;
1740
_textLength
+= runCount;
1755
_textLength
++;
1763
_textLength
++;
20 references to _textLength
PresentationFramework (20)
System\Windows\Documents\Speller.cs (20)
1707
_contentStartOffset =
_textLength
;
1711
_contentEndOffset =
_textLength
;
1718
runCount = Math.Min(runCount, _text.Length -
_textLength
);
1721
position.GetTextInRun(LogicalDirection.Forward, _text,
_textLength
, runCount);
1723
for (i =
_textLength
; i <
_textLength
+ runCount; i++)
1731
_contentStartOffset =
_textLength
+ position.GetOffsetToPosition(contentStart);
1736
_contentEndOffset =
_textLength
+ position.GetOffsetToPosition(contentEnd);
1753
_text[
_textLength
] = ' ';
1754
_positionMap[
_textLength
] =
_textLength
+ inlineCount;
1761
_text[
_textLength
] = '\xf8ff'; // Unicode private use.
1762
_positionMap[
_textLength
] =
_textLength
+ inlineCount;
1772
_contentEndOffset =
_textLength
;
1775
if (
_textLength
> 0)
1777
_positionMap[
_textLength
] = _positionMap[
_textLength
- 1] + 1;
1791
Invariant.Assert(offset >= 0 && offset <=
_textLength
);
1821
get { return
_textLength
; }