2 writes to _tree
PresentationFramework (2)
System\Windows\Documents\TextPointer.cs (2)
3928_tree = tree; 4101_tree = tree;
98 references to _tree
PresentationFramework (98)
System\Windows\Documents\TextPointer.cs (98)
434_tree.EmptyDeadPositionList(); 461_tree.EmptyDeadPositionList(); 463ValidationHelper.VerifyPosition(_tree, position); 543_tree.EmptyDeadPositionList(); 565_tree.EmptyDeadPositionList(); 576if (_tree.PlainTextOnly) 584count = _tree.InternalSymbolCount - this.GetSymbolOffset() - 1; 677_tree.EmptyDeadPositionList(); 679ValidationHelper.VerifyPosition(_tree, position); 780return textNode == null ? 0 : GetTextInRun(_tree, GetSymbolOffset(), textNode, -1, direction, textBuffer, startIndex, count); 808_tree.EmptyDeadPositionList(); 1247_tree.EmptyDeadPositionList(); 1274_tree.EmptyDeadPositionList(); 1288_tree.BeginChange(); 1291_tree.InsertTextInternal(insertPosition, textData); 1295_tree.EndChange(); 1315_tree.EmptyDeadPositionList(); 1343_tree.BeginChange(); 1348_tree.DeleteContentInternal(this, deleteToPosition); 1352_tree.DeleteContentInternal(deleteToPosition, this); 1357_tree.EndChange(); 1385_tree.EmptyDeadPositionList(); 1415_tree.EmptyDeadPositionList(); 1437_tree.BeginChange(); 1444_tree.EndChange(); 1460_tree.EmptyDeadPositionList(); 1465_tree.BeginChange(); 1472_tree.EndChange(); 1517return _tree.TextView == null ? false : _tree.TextView.IsValid && _tree.TextView.Contains(this); 1545_tree.EmptyDeadPositionList(); 1566_tree.EmptyDeadPositionList(); 1594_tree.EmptyDeadPositionList(); 1604TextSegment lineRange = _tree.TextView.GetLineRange(this); 1645_tree.EmptyDeadPositionList(); 1664_tree.EmptyDeadPositionList(); 1851ValidationHelper.VerifyPosition(_tree, textPosition); 1855_tree.EmptyDeadPositionList(); 1860MoveToNode(_tree, textPosition.Node, textPosition.Edge); 1897_tree.EmptyDeadPositionList(); 1911symbolOffset = _tree.InternalSymbolCount - 1; 1921else if (symbolOffset > _tree.InternalSymbolCount - 1) 1926offset -= (symbolOffset - (_tree.InternalSymbolCount - 1)); 1927symbolOffset = _tree.InternalSymbolCount - 1; 1930_tree.GetNodeAndEdgeAtOffset(symbolOffset, out node, out edge); 1931MoveToNode(_tree, (TextTreeNode)node, edge); 1976_tree.EmptyDeadPositionList(); 2032_tree.EmptyDeadPositionList(); 2075_tree.EmptyDeadPositionList(); 2117_tree.EmptyDeadPositionList(); 2120return TextPointerBase.MoveToLineBoundary(this, _tree.TextView, count); 2141_tree.EmptyDeadPositionList(); 2151_tree.BeginChange(); 2154_tree.InsertEmbeddedObjectInternal(this, uiElement); 2158_tree.EndChange(); 2167_tree.EmptyDeadPositionList(); 2190_tree.EmptyDeadPositionList(); 2291_tree.EmptyDeadPositionList(); 2314_tree.EmptyDeadPositionList(); 2338_tree.EmptyDeadPositionList(); 2415_tree.EmptyDeadPositionList(); 2430_tree.EmptyDeadPositionList(); 2432ValidationHelper.VerifyPosition(_tree, position); 2502_tree.EmptyDeadPositionList(); 2526_tree.EmptyDeadPositionList(); 2543_tree.EmptyDeadPositionList(); 2564_tree.EmptyDeadPositionList(); 2567return new StaticTextPointer(_tree, _node, _node.GetOffsetFromEdge(this.Edge)); 2624_tree.EmptyDeadPositionList(); 2644MoveToNode(_tree, elementNode, edge); 2682_tree.EmptyDeadPositionList(); 2696if (!_tree.TextView.IsAtCaretUnitBoundary(this)) 2699position = (TextPointer)_tree.TextView.GetNextCaretUnitPosition(this, oppositeDirection); 2716_tree.EmptyDeadPositionList(); 2728position = (TextPointer)_tree.TextView.GetNextCaretUnitPosition(this, direction); 2747_tree.EmptyDeadPositionList(); 2759position = (TextPointer)_tree.TextView.GetBackspaceCaretUnitPosition(this); 2784_tree.BeginChange(); 2792_tree.EndChange(); 2805return TextPointerBase.ValidateLayout(this, _tree.TextView); 2902return GetSymbolOffset(_tree, _node, this.Edge); 2959if (_generation == _tree.PositionGeneration) 3050_generation = _tree.PositionGeneration; 3085Invariant.Assert(_generation == _tree.PositionGeneration, "TextPointer not synchronized to tree generation!"); 3092return GetNextNodeAndEdge(_node, this.Edge, _tree.PlainTextOnly, out node, out edge); 3262return GetPreviousNodeAndEdge(_node, this.Edge, _tree.PlainTextOnly, out node, out edge); 3613_tree.EmptyDeadPositionList(); 3648_tree.EmptyDeadPositionList(); 3657if (_layoutGeneration != _tree.LayoutGeneration) 3664this.CaretUnitBoundaryCache = _tree.IsAtCaretUnitBoundary(this); 3665_layoutGeneration = _tree.LayoutGeneration; 3716_tree.EmptyDeadPositionList(); 3739_tree.EmptyDeadPositionList(); 3782return _tree; 3793return ((FrameworkElement)_tree.Parent); 3863_tree.EmptyDeadPositionList(); 4163Invariant.Assert(_tree != null, "Position has no tree!");