2 writes to _text
PresentationFramework (2)
System\Windows\Documents\TextTreeTextBlock.cs (2)
39
_text
= new char[size];
100
_text
= newText;
19 references to _text
PresentationFramework (19)
System\Windows\Documents\TextTreeTextBlock.cs (19)
89
if (
_text
.Length < MaxBlockSize && count > _gapSize)
96
Array.Copy(
_text
, 0, newText, 0, _gapOffset);
97
rightOfGapLength =
_text
.Length - (_gapOffset + _gapSize);
98
Array.Copy(
_text
, _gapOffset + _gapSize, newText, newText.Length - rightOfGapLength, rightOfGapLength);
99
_gapSize += newText.Length -
_text
.Length;
116
textString.CopyTo(textStartIndex,
_text
, logicalOffset, count);
123
Array.Copy(textChars, textStartIndex,
_text
, logicalOffset, count);
144
Invariant.Assert(
_text
.Length == MaxBlockSize, "Splitting non-max sized block!");
151
Array.Copy(
_text
, 0, newBlock.
_text
, 0, _gapOffset);
165
Array.Copy(
_text
, _gapOffset, newBlock.
_text
, _gapOffset, MaxBlockSize - _gapOffset);
233
Invariant.Assert(_gapOffset + _gapSize <=
_text
.Length);
250
Array.Copy(
_text
, logicalOffset, chars, charsStartIndex, copyCount);
264
copyCount = Math.Min(count,
_text
.Length - logicalOffset);
265
Array.Copy(
_text
, logicalOffset, chars, charsStartIndex, copyCount);
431
return (
_text
.Length - _gapSize);
483
Array.Copy(
_text
, sourceOffset,
_text
, destinationOffset, count);