1 write to _rootNode
PresentationFramework (1)
src\Framework\System\Windows\Documents\TextContainer.cs (1)
3193_rootNode = new TextTreeRootNode(this);
49 references to _rootNode
PresentationFramework (49)
src\Framework\System\Windows\Documents\TextContainer.cs (49)
381_rootNode.DispatcherProcessingDisabled.Dispose(); 931TextTreeText.InsertText(_rootNode.RootTextBlock, symbolOffset, text); 1101TextTreeText.InsertElementEdges(_rootNode.RootTextBlock, symbolOffset, childSymbolCount); 1106TextTreeText.InsertText(_rootNode.RootTextBlock, symbolOffset, elementText); 1213TextTreeText.InsertObject(_rootNode.RootTextBlock, symbolOffset); 1320node = _rootNode; 1328Invariant.Assert(node.Generation != _rootNode.Generation || 1332node.Generation = _rootNode.Generation; 1419node = _rootNode; 1589_rootNode.LayoutGeneration++; 1607if (_rootNode.CaretUnitBoundaryCacheOffset != position.GetSymbolOffset()) 1609_rootNode.CaretUnitBoundaryCacheOffset = position.GetSymbolOffset(); 1610_rootNode.CaretUnitBoundaryCache = _textview.IsAtCaretUnitBoundary(position); 1612if (!_rootNode.CaretUnitBoundaryCache && position.LogicalDirection == LogicalDirection.Backward) 1621_rootNode.CaretUnitBoundaryCache = _textview.IsAtCaretUnitBoundary(positionForwardGravity); 1625return _rootNode.CaretUnitBoundaryCache; 1655startPosition = new TextPointer(this, _rootNode, ElementEdge.AfterStart, LogicalDirection.Backward); 1686endPosition = new TextPointer(this, _rootNode, ElementEdge.BeforeEnd, LogicalDirection.Forward); 1846return (_rootNode == null ? 2 : _rootNode.SymbolCount); 1855return (_rootNode == null ? 0 : _rootNode.IMECharCount); 1874Invariant.Assert(_rootNode != null, "Asking for TextBlocks before root node create!"); 1875return _rootNode.RootTextBlock; 1887Invariant.Assert(_rootNode != null, "Asking for Generation before root node create!"); 1888return _rootNode.Generation; 1898Invariant.Assert(_rootNode != null, "Asking for PositionGeneration before root node create!"); 1899return _rootNode.PositionGeneration; 1909Invariant.Assert(_rootNode != null, "Asking for LayoutGeneration before root node create!"); 1910return _rootNode.LayoutGeneration; 1946get { return _rootNode; } 1954return (_rootNode == null) ? null : (TextTreeNode)_rootNode.GetFirstContainedNode(); 1963return (_rootNode == null) ? null : (TextTreeNode)_rootNode.GetLastContainedNode(); 2411TextTreeText.RemoveText(_rootNode.RootTextBlock, symbolOffset, symbolCount); 2475elementText = TextTreeText.CutText(_rootNode.RootTextBlock, elementNode.GetSymbolOffset(this.Generation), elementNode.SymbolCount); 2903TextTreeText.RemoveElementEdges(_rootNode.RootTextBlock, symbolOffset, elementNode.SymbolCount); 2911elementText = TextTreeText.CutText(_rootNode.RootTextBlock, symbolOffset, elementNode.SymbolCount); 3191if (_rootNode == null) 3200Invariant.Assert(_rootNode != null, "Unexpected DemandCreateText call before position allocation."); 3202if (_rootNode.RootTextBlock == null) 3204_rootNode.RootTextBlock = new TextTreeRootTextBlock(); 3206TextTreeText.InsertElementEdges(_rootNode.RootTextBlock, 0, 0); 3236_rootNode.Generation++; 3240_rootNode.PositionGeneration++; 3299if (_rootNode.RootTextBlock != null) 3303for (textBlock = (TextTreeTextBlock)_rootNode.RootTextBlock.ContainedNode.GetMinSibling(); textBlock != null; textBlock = (TextTreeTextBlock)textBlock.GetNextNode()) 3364_rootNode.DispatcherProcessingDisabled = this.Dispatcher.DisableProcessing();