4 writes to _textLength
PresentationFramework (4)
System\Windows\Documents\Speller.cs (4)
1695_textLength = 0; 1740_textLength += runCount; 1755_textLength++; 1763_textLength++;
20 references to _textLength
PresentationFramework (20)
System\Windows\Documents\Speller.cs (20)
1707_contentStartOffset = _textLength; 1711_contentEndOffset = _textLength; 1718runCount = Math.Min(runCount, _text.Length - _textLength); 1721position.GetTextInRun(LogicalDirection.Forward, _text, _textLength, runCount); 1723for (i = _textLength; i < _textLength + runCount; i++) 1731_contentStartOffset = _textLength + position.GetOffsetToPosition(contentStart); 1736_contentEndOffset = _textLength + position.GetOffsetToPosition(contentEnd); 1753_text[_textLength] = ' '; 1754_positionMap[_textLength] = _textLength + inlineCount; 1761_text[_textLength] = '\xf8ff'; // Unicode private use. 1762_positionMap[_textLength] = _textLength + inlineCount; 1772_contentEndOffset = _textLength; 1775if (_textLength > 0) 1777_positionMap[_textLength] = _positionMap[_textLength - 1] + 1; 1791Invariant.Assert(offset >= 0 && offset <= _textLength); 1821get { return _textLength; }