9 writes to _gapSize
PresentationFramework (9)
src\Framework\System\Windows\Documents\TextTreeTextBlock.cs (9)
45_gapSize = size; 104_gapSize += newText.Length - _text.Length; 133_gapSize -= count; 158newBlock._gapSize = MaxBlockSize - _gapOffset; 161_gapSize += _gapOffset; 172newBlock._gapSize = _gapOffset; 175_gapSize = MaxBlockSize - _gapOffset; 219_gapSize += precedingTextToRemoveCount; 237_gapSize += count;
14 references to _gapSize
PresentationFramework (14)
src\Framework\System\Windows\Documents\TextTreeTextBlock.cs (14)
94if (_text.Length < MaxBlockSize && count > _gapSize) 102rightOfGapLength = _text.Length - (_gapOffset + _gapSize); 103Array.Copy(_text, _gapOffset + _gapSize, newText, newText.Length - rightOfGapLength, rightOfGapLength); 115count = Math.Min(count, _gapSize); 148Invariant.Assert(_gapSize == 0, "Splitting non-full block!"); 227logicalOffset += _gapSize; 230if (logicalOffset > _gapOffset + _gapSize) 233MoveGap(logicalOffset - _gapSize); 238Invariant.Assert(_gapOffset + _gapSize <= _text.Length); 266logicalOffset += _gapSize; 436return (_text.Length - _gapSize); 445return _gapSize; 478destinationOffset = offset + _gapSize; 483sourceOffset = _gapOffset + _gapSize;