4 instantiations of TextTreeTextBlock
PresentationFramework (4)
System\Windows\Documents\TextTreeRootTextBlock.cs (1)
32
block = new
TextTreeTextBlock
(2);
System\Windows\Documents\TextTreeText.cs (2)
313
newBlock = new
TextTreeTextBlock
(TextTreeTextBlock.MaxBlockSize);
375
newBlock = new
TextTreeTextBlock
(TextTreeTextBlock.MaxBlockSize);
System\Windows\Documents\TextTreeTextBlock.cs (1)
145
newBlock = new
TextTreeTextBlock
(MaxBlockSize);
44 references to TextTreeTextBlock
PresentationFramework (44)
System\Windows\Documents\TextContainer.cs (3)
3276
TextTreeTextBlock
textBlock;
3282
for (textBlock = (
TextTreeTextBlock
)_rootNode.RootTextBlock.ContainedNode.GetMinSibling(); textBlock != null; textBlock = (
TextTreeTextBlock
)textBlock.GetNextNode())
System\Windows\Documents\TextTreeRootTextBlock.cs (3)
27
TextTreeTextBlock
block;
88
_containedNode = (
TextTreeTextBlock
)value;
218
private
TextTreeTextBlock
_containedNode;
System\Windows\Documents\TextTreeText.cs (32)
34
TextTreeTextBlock
block;
51
if (block.GapOffset <
TextTreeTextBlock
.MaxBlockSize / 2)
68
TextTreeTextBlock
firstBlock;
70
TextTreeTextBlock
lastBlock;
91
firstBlock = (
TextTreeTextBlock
)firstBlock.GetNextNode();
140
Remove((
TextTreeTextBlock
)firstRemoveBlock, (
TextTreeTextBlock
)lastRemoveBlock);
162
TextTreeTextBlock
block;
181
block = (
TextTreeTextBlock
)block.GetNextNode();
236
private static
TextTreeTextBlock
FindBlock(TextTreeRootTextBlock rootTextBlock, int offset, out int localOffset)
238
TextTreeTextBlock
node;
241
node = (
TextTreeTextBlock
)rootTextBlock.ContainedNode.GetSiblingAtOffset(offset, out nodeOffset);
246
TextTreeTextBlock
previousBlock = (
TextTreeTextBlock
)node.GetPreviousNode();
262
private static void InsertTextLeft(
TextTreeTextBlock
rightBlock, object text, int textOffset)
265
TextTreeTextBlock
leftBlock;
266
TextTreeTextBlock
neighborBlock;
267
TextTreeTextBlock
newBlock;
278
neighborBlock = (
TextTreeTextBlock
)rightBlock.GetPreviousNode();
307
newBlockCount += (textEndOffset - textOffset +
TextTreeTextBlock
.MaxBlockSize - 1) /
TextTreeTextBlock
.MaxBlockSize;
313
newBlock = new TextTreeTextBlock(
TextTreeTextBlock
.MaxBlockSize);
323
private static void InsertTextRight(
TextTreeTextBlock
leftBlock, object text, int textOffset)
326
TextTreeTextBlock
rightBlock;
327
TextTreeTextBlock
neighborBlock;
328
TextTreeTextBlock
newBlock;
338
neighborBlock = (
TextTreeTextBlock
)leftBlock.GetNextNode();
369
newBlockCount += (textEndOffset - textOffset +
TextTreeTextBlock
.MaxBlockSize - 1) /
TextTreeTextBlock
.MaxBlockSize;
375
newBlock = new TextTreeTextBlock(
TextTreeTextBlock
.MaxBlockSize);
385
internal static void Remove(
TextTreeTextBlock
firstNode,
TextTreeTextBlock
lastNode)
System\Windows\Documents\TextTreeTextBlock.cs (6)
137
internal
TextTreeTextBlock
SplitBlock()
139
TextTreeTextBlock
newBlock;
349
_leftChildNode = (
TextTreeTextBlock
)value;
363
_rightChildNode = (
TextTreeTextBlock
)value;
504
private
TextTreeTextBlock
_leftChildNode;
507
private
TextTreeTextBlock
_rightChildNode;