9 writes to _gapSize
PresentationFramework (9)
System\Windows\Documents\TextTreeTextBlock.cs (9)
40_gapSize = size; 99_gapSize += newText.Length - _text.Length; 128_gapSize -= count; 153newBlock._gapSize = MaxBlockSize - _gapOffset; 156_gapSize += _gapOffset; 167newBlock._gapSize = _gapOffset; 170_gapSize = MaxBlockSize - _gapOffset; 214_gapSize += precedingTextToRemoveCount; 232_gapSize += count;
14 references to _gapSize
PresentationFramework (14)
System\Windows\Documents\TextTreeTextBlock.cs (14)
89if (_text.Length < MaxBlockSize && count > _gapSize) 97rightOfGapLength = _text.Length - (_gapOffset + _gapSize); 98Array.Copy(_text, _gapOffset + _gapSize, newText, newText.Length - rightOfGapLength, rightOfGapLength); 110count = Math.Min(count, _gapSize); 143Invariant.Assert(_gapSize == 0, "Splitting non-full block!"); 222logicalOffset += _gapSize; 225if (logicalOffset > _gapOffset + _gapSize) 228MoveGap(logicalOffset - _gapSize); 233Invariant.Assert(_gapOffset + _gapSize <= _text.Length); 261logicalOffset += _gapSize; 431return (_text.Length - _gapSize); 440return _gapSize; 473destinationOffset = offset + _gapSize; 478sourceOffset = _gapOffset + _gapSize;