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