4 writes to _textLength
PresentationFramework (4)
src\Framework\System\Windows\Documents\Speller.cs (4)
1798
_textLength
= 0;
1843
_textLength
+= runCount;
1858
_textLength
++;
1866
_textLength
++;
20 references to _textLength
PresentationFramework (20)
src\Framework\System\Windows\Documents\Speller.cs (20)
1810
_contentStartOffset =
_textLength
;
1814
_contentEndOffset =
_textLength
;
1821
runCount = Math.Min(runCount, _text.Length -
_textLength
);
1824
position.GetTextInRun(LogicalDirection.Forward, _text,
_textLength
, runCount);
1826
for (i =
_textLength
; i <
_textLength
+ runCount; i++)
1834
_contentStartOffset =
_textLength
+ position.GetOffsetToPosition(contentStart);
1839
_contentEndOffset =
_textLength
+ position.GetOffsetToPosition(contentEnd);
1856
_text[
_textLength
] = ' ';
1857
_positionMap[
_textLength
] =
_textLength
+ inlineCount;
1864
_text[
_textLength
] = '\xf8ff'; // Unicode private use.
1865
_positionMap[
_textLength
] =
_textLength
+ inlineCount;
1875
_contentEndOffset =
_textLength
;
1878
if (
_textLength
> 0)
1880
_positionMap[
_textLength
] = _positionMap[
_textLength
- 1] + 1;
1894
Invariant.Assert(offset >= 0 && offset <=
_textLength
);
1924
get { return
_textLength
; }