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; 1689runCount = Math.Min(runCount, _text.Length - _textLength); 1692position.GetTextInRun(LogicalDirection.Forward, _text, _textLength, runCount); 1694for (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; 1746if (_textLength > 0) 1748_positionMap[_textLength] = _positionMap[_textLength - 1] + 1; 1762Invariant.Assert(offset >= 0 && offset <= _textLength); 1792get { return _textLength; }