4 instantiations of TextTreeTextBlock
PresentationFramework (4)
System\Windows\Documents\TextTreeRootTextBlock.cs (1)
34
block = new
TextTreeTextBlock
(2);
System\Windows\Documents\TextTreeText.cs (2)
315
newBlock = new
TextTreeTextBlock
(TextTreeTextBlock.MaxBlockSize);
377
newBlock = new
TextTreeTextBlock
(TextTreeTextBlock.MaxBlockSize);
System\Windows\Documents\TextTreeTextBlock.cs (1)
146
newBlock = new
TextTreeTextBlock
(MaxBlockSize);
44 references to TextTreeTextBlock
PresentationFramework (44)
System\Windows\Documents\TextContainer.cs (3)
3281
TextTreeTextBlock
textBlock;
3287
for (textBlock = (
TextTreeTextBlock
)_rootNode.RootTextBlock.ContainedNode.GetMinSibling(); textBlock != null; textBlock = (
TextTreeTextBlock
)textBlock.GetNextNode())
System\Windows\Documents\TextTreeRootTextBlock.cs (3)
29
TextTreeTextBlock
block;
90
_containedNode = (
TextTreeTextBlock
)value;
220
private
TextTreeTextBlock
_containedNode;
System\Windows\Documents\TextTreeText.cs (32)
36
TextTreeTextBlock
block;
53
if (block.GapOffset <
TextTreeTextBlock
.MaxBlockSize / 2)
70
TextTreeTextBlock
firstBlock;
72
TextTreeTextBlock
lastBlock;
93
firstBlock = (
TextTreeTextBlock
)firstBlock.GetNextNode();
142
Remove((
TextTreeTextBlock
)firstRemoveBlock, (
TextTreeTextBlock
)lastRemoveBlock);
164
TextTreeTextBlock
block;
183
block = (
TextTreeTextBlock
)block.GetNextNode();
238
private static
TextTreeTextBlock
FindBlock(TextTreeRootTextBlock rootTextBlock, int offset, out int localOffset)
240
TextTreeTextBlock
node;
243
node = (
TextTreeTextBlock
)rootTextBlock.ContainedNode.GetSiblingAtOffset(offset, out nodeOffset);
248
TextTreeTextBlock
previousBlock = (
TextTreeTextBlock
)node.GetPreviousNode();
264
private static void InsertTextLeft(
TextTreeTextBlock
rightBlock, object text, int textOffset)
267
TextTreeTextBlock
leftBlock;
268
TextTreeTextBlock
neighborBlock;
269
TextTreeTextBlock
newBlock;
280
neighborBlock = (
TextTreeTextBlock
)rightBlock.GetPreviousNode();
309
newBlockCount += (textEndOffset - textOffset +
TextTreeTextBlock
.MaxBlockSize - 1) /
TextTreeTextBlock
.MaxBlockSize;
315
newBlock = new TextTreeTextBlock(
TextTreeTextBlock
.MaxBlockSize);
325
private static void InsertTextRight(
TextTreeTextBlock
leftBlock, object text, int textOffset)
328
TextTreeTextBlock
rightBlock;
329
TextTreeTextBlock
neighborBlock;
330
TextTreeTextBlock
newBlock;
340
neighborBlock = (
TextTreeTextBlock
)leftBlock.GetNextNode();
371
newBlockCount += (textEndOffset - textOffset +
TextTreeTextBlock
.MaxBlockSize - 1) /
TextTreeTextBlock
.MaxBlockSize;
377
newBlock = new TextTreeTextBlock(
TextTreeTextBlock
.MaxBlockSize);
387
internal static void Remove(
TextTreeTextBlock
firstNode,
TextTreeTextBlock
lastNode)
System\Windows\Documents\TextTreeTextBlock.cs (6)
138
internal
TextTreeTextBlock
SplitBlock()
140
TextTreeTextBlock
newBlock;
350
_leftChildNode = (
TextTreeTextBlock
)value;
364
_rightChildNode = (
TextTreeTextBlock
)value;
505
private
TextTreeTextBlock
_leftChildNode;
508
private
TextTreeTextBlock
_rightChildNode;