4 writes to _textLength
PresentationFramework (4)
System\Windows\Documents\Speller.cs (4)
1662_textLength = 0; 1707_textLength += runCount; 1722_textLength++; 1730_textLength++;
20 references to _textLength
PresentationFramework (20)
System\Windows\Documents\Speller.cs (20)
1674_contentStartOffset = _textLength; 1678_contentEndOffset = _textLength; 1685runCount = Math.Min(runCount, _text.Length - _textLength); 1688position.GetTextInRun(LogicalDirection.Forward, _text, _textLength, runCount); 1690for (i = _textLength; i < _textLength + runCount; i++) 1698_contentStartOffset = _textLength + position.GetOffsetToPosition(contentStart); 1703_contentEndOffset = _textLength + position.GetOffsetToPosition(contentEnd); 1720_text[_textLength] = ' '; 1721_positionMap[_textLength] = _textLength + inlineCount; 1728_text[_textLength] = '\xf8ff'; // Unicode private use. 1729_positionMap[_textLength] = _textLength + inlineCount; 1739_contentEndOffset = _textLength; 1742if (_textLength > 0) 1744_positionMap[_textLength] = _positionMap[_textLength - 1] + 1; 1758Invariant.Assert(offset >= 0 && offset <= _textLength); 1788get { return _textLength; }