4 writes to _textLength
PresentationFramework (4)
System\Windows\Documents\Speller.cs (4)
1659_textLength = 0; 1704_textLength += runCount; 1719_textLength++; 1727_textLength++;
20 references to _textLength
PresentationFramework (20)
System\Windows\Documents\Speller.cs (20)
1671_contentStartOffset = _textLength; 1675_contentEndOffset = _textLength; 1682runCount = Math.Min(runCount, _text.Length - _textLength); 1685position.GetTextInRun(LogicalDirection.Forward, _text, _textLength, runCount); 1687for (i = _textLength; i < _textLength + runCount; i++) 1695_contentStartOffset = _textLength + position.GetOffsetToPosition(contentStart); 1700_contentEndOffset = _textLength + position.GetOffsetToPosition(contentEnd); 1717_text[_textLength] = ' '; 1718_positionMap[_textLength] = _textLength + inlineCount; 1725_text[_textLength] = '\xf8ff'; // Unicode private use. 1726_positionMap[_textLength] = _textLength + inlineCount; 1736_contentEndOffset = _textLength; 1739if (_textLength > 0) 1741_positionMap[_textLength] = _positionMap[_textLength - 1] + 1; 1755Invariant.Assert(offset >= 0 && offset <= _textLength); 1785get { return _textLength; }