4 instantiations of TextTreeTextBlock
PresentationFramework (4)
src\Framework\System\Windows\Documents\TextTreeRootTextBlock.cs (1)
34
block = new
TextTreeTextBlock
(2);
src\Framework\System\Windows\Documents\TextTreeText.cs (2)
320
newBlock = new
TextTreeTextBlock
(TextTreeTextBlock.MaxBlockSize);
382
newBlock = new
TextTreeTextBlock
(TextTreeTextBlock.MaxBlockSize);
src\Framework\System\Windows\Documents\TextTreeTextBlock.cs (1)
151
newBlock = new
TextTreeTextBlock
(MaxBlockSize);
44 references to TextTreeTextBlock
PresentationFramework (44)
src\Framework\System\Windows\Documents\TextContainer.cs (3)
3297
TextTreeTextBlock
textBlock;
3303
for (textBlock = (
TextTreeTextBlock
)_rootNode.RootTextBlock.ContainedNode.GetMinSibling(); textBlock != null; textBlock = (
TextTreeTextBlock
)textBlock.GetNextNode())
src\Framework\System\Windows\Documents\TextTreeRootTextBlock.cs (3)
29
TextTreeTextBlock
block;
90
_containedNode = (
TextTreeTextBlock
)value;
220
private
TextTreeTextBlock
_containedNode;
src\Framework\System\Windows\Documents\TextTreeText.cs (32)
41
TextTreeTextBlock
block;
58
if (block.GapOffset <
TextTreeTextBlock
.MaxBlockSize / 2)
75
TextTreeTextBlock
firstBlock;
77
TextTreeTextBlock
lastBlock;
98
firstBlock = (
TextTreeTextBlock
)firstBlock.GetNextNode();
147
Remove((
TextTreeTextBlock
)firstRemoveBlock, (
TextTreeTextBlock
)lastRemoveBlock);
169
TextTreeTextBlock
block;
188
block = (
TextTreeTextBlock
)block.GetNextNode();
243
private static
TextTreeTextBlock
FindBlock(TextTreeRootTextBlock rootTextBlock, int offset, out int localOffset)
245
TextTreeTextBlock
node;
248
node = (
TextTreeTextBlock
)rootTextBlock.ContainedNode.GetSiblingAtOffset(offset, out nodeOffset);
253
TextTreeTextBlock
previousBlock = (
TextTreeTextBlock
)node.GetPreviousNode();
269
private static void InsertTextLeft(
TextTreeTextBlock
rightBlock, object text, int textOffset)
272
TextTreeTextBlock
leftBlock;
273
TextTreeTextBlock
neighborBlock;
274
TextTreeTextBlock
newBlock;
285
neighborBlock = (
TextTreeTextBlock
)rightBlock.GetPreviousNode();
314
newBlockCount += (textEndOffset - textOffset +
TextTreeTextBlock
.MaxBlockSize - 1) /
TextTreeTextBlock
.MaxBlockSize;
320
newBlock = new TextTreeTextBlock(
TextTreeTextBlock
.MaxBlockSize);
330
private static void InsertTextRight(
TextTreeTextBlock
leftBlock, object text, int textOffset)
333
TextTreeTextBlock
rightBlock;
334
TextTreeTextBlock
neighborBlock;
335
TextTreeTextBlock
newBlock;
345
neighborBlock = (
TextTreeTextBlock
)leftBlock.GetNextNode();
376
newBlockCount += (textEndOffset - textOffset +
TextTreeTextBlock
.MaxBlockSize - 1) /
TextTreeTextBlock
.MaxBlockSize;
382
newBlock = new TextTreeTextBlock(
TextTreeTextBlock
.MaxBlockSize);
392
internal static void Remove(
TextTreeTextBlock
firstNode,
TextTreeTextBlock
lastNode)
src\Framework\System\Windows\Documents\TextTreeTextBlock.cs (6)
143
internal
TextTreeTextBlock
SplitBlock()
145
TextTreeTextBlock
newBlock;
355
_leftChildNode = (
TextTreeTextBlock
)value;
369
_rightChildNode = (
TextTreeTextBlock
)value;
510
private
TextTreeTextBlock
_leftChildNode;
513
private
TextTreeTextBlock
_rightChildNode;