9 writes to _gapSize
PresentationFramework (9)
System\Windows\Documents\TextTreeTextBlock.cs (9)
38
_gapSize
= size;
97
_gapSize
+= newText.Length - _text.Length;
126
_gapSize
-= count;
151
newBlock.
_gapSize
= MaxBlockSize - _gapOffset;
154
_gapSize
+= _gapOffset;
165
newBlock.
_gapSize
= _gapOffset;
168
_gapSize
= MaxBlockSize - _gapOffset;
212
_gapSize
+= precedingTextToRemoveCount;
230
_gapSize
+= count;
14 references to _gapSize
PresentationFramework (14)
System\Windows\Documents\TextTreeTextBlock.cs (14)
87
if (_text.Length < MaxBlockSize && count >
_gapSize
)
95
rightOfGapLength = _text.Length - (_gapOffset +
_gapSize
);
96
Array.Copy(_text, _gapOffset +
_gapSize
, newText, newText.Length - rightOfGapLength, rightOfGapLength);
108
count = Math.Min(count,
_gapSize
);
141
Invariant.Assert(
_gapSize
== 0, "Splitting non-full block!");
220
logicalOffset +=
_gapSize
;
223
if (logicalOffset > _gapOffset +
_gapSize
)
226
MoveGap(logicalOffset -
_gapSize
);
231
Invariant.Assert(_gapOffset +
_gapSize
<= _text.Length);
259
logicalOffset +=
_gapSize
;
429
return (_text.Length -
_gapSize
);
438
return
_gapSize
;
471
destinationOffset = offset +
_gapSize
;
476
sourceOffset = _gapOffset +
_gapSize
;