9 writes to _gapSize
PresentationFramework (9)
System\Windows\Documents\TextTreeTextBlock.cs (9)
39
_gapSize
= size;
98
_gapSize
+= newText.Length - _text.Length;
127
_gapSize
-= count;
152
newBlock.
_gapSize
= MaxBlockSize - _gapOffset;
155
_gapSize
+= _gapOffset;
166
newBlock.
_gapSize
= _gapOffset;
169
_gapSize
= MaxBlockSize - _gapOffset;
213
_gapSize
+= precedingTextToRemoveCount;
231
_gapSize
+= count;
14 references to _gapSize
PresentationFramework (14)
System\Windows\Documents\TextTreeTextBlock.cs (14)
88
if (_text.Length < MaxBlockSize && count >
_gapSize
)
96
rightOfGapLength = _text.Length - (_gapOffset +
_gapSize
);
97
Array.Copy(_text, _gapOffset +
_gapSize
, newText, newText.Length - rightOfGapLength, rightOfGapLength);
109
count = Math.Min(count,
_gapSize
);
142
Invariant.Assert(
_gapSize
== 0, "Splitting non-full block!");
221
logicalOffset +=
_gapSize
;
224
if (logicalOffset > _gapOffset +
_gapSize
)
227
MoveGap(logicalOffset -
_gapSize
);
232
Invariant.Assert(_gapOffset +
_gapSize
<= _text.Length);
260
logicalOffset +=
_gapSize
;
430
return (_text.Length -
_gapSize
);
439
return
_gapSize
;
472
destinationOffset = offset +
_gapSize
;
477
sourceOffset = _gapOffset +
_gapSize
;