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;
158
newBlock.
_gapSize
= MaxBlockSize - _gapOffset;
161
_gapSize
+= _gapOffset;
172
newBlock.
_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)
94
if (_text.Length < MaxBlockSize && count >
_gapSize
)
102
rightOfGapLength = _text.Length - (_gapOffset +
_gapSize
);
103
Array.Copy(_text, _gapOffset +
_gapSize
, newText, newText.Length - rightOfGapLength, rightOfGapLength);
115
count = Math.Min(count,
_gapSize
);
148
Invariant.Assert(
_gapSize
== 0, "Splitting non-full block!");
227
logicalOffset +=
_gapSize
;
230
if (logicalOffset > _gapOffset +
_gapSize
)
233
MoveGap(logicalOffset -
_gapSize
);
238
Invariant.Assert(_gapOffset +
_gapSize
<= _text.Length);
266
logicalOffset +=
_gapSize
;
436
return (_text.Length -
_gapSize
);
445
return
_gapSize
;
478
destinationOffset = offset +
_gapSize
;
483
sourceOffset = _gapOffset +
_gapSize
;