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