4 writes to _textLength
PresentationFramework (4)
System\Windows\Documents\Speller.cs (4)
1666
_textLength
= 0;
1711
_textLength
+= runCount;
1726
_textLength
++;
1734
_textLength
++;
20 references to _textLength
PresentationFramework (20)
System\Windows\Documents\Speller.cs (20)
1678
_contentStartOffset =
_textLength
;
1682
_contentEndOffset =
_textLength
;
1689
runCount = Math.Min(runCount, _text.Length -
_textLength
);
1692
position.GetTextInRun(LogicalDirection.Forward, _text,
_textLength
, runCount);
1694
for (i =
_textLength
; i <
_textLength
+ runCount; i++)
1702
_contentStartOffset =
_textLength
+ position.GetOffsetToPosition(contentStart);
1707
_contentEndOffset =
_textLength
+ position.GetOffsetToPosition(contentEnd);
1724
_text[
_textLength
] = ' ';
1725
_positionMap[
_textLength
] =
_textLength
+ inlineCount;
1732
_text[
_textLength
] = '\xf8ff'; // Unicode private use.
1733
_positionMap[
_textLength
] =
_textLength
+ inlineCount;
1743
_contentEndOffset =
_textLength
;
1746
if (
_textLength
> 0)
1748
_positionMap[
_textLength
] = _positionMap[
_textLength
- 1] + 1;
1762
Invariant.Assert(offset >= 0 && offset <=
_textLength
);
1792
get { return
_textLength
; }