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; 1821runCount = Math.Min(runCount, _text.Length - _textLength); 1824position.GetTextInRun(LogicalDirection.Forward, _text, _textLength, runCount); 1826for (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; 1878if (_textLength > 0) 1880_positionMap[_textLength] = _positionMap[_textLength - 1] + 1; 1894Invariant.Assert(offset >= 0 && offset <= _textLength); 1924get { return _textLength; }