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();
463
ValidationHelper.VerifyPosition(
_tree
, position);
543
_tree
.EmptyDeadPositionList();
565
_tree
.EmptyDeadPositionList();
576
if (
_tree
.PlainTextOnly)
584
count =
_tree
.InternalSymbolCount - this.GetSymbolOffset() - 1;
677
_tree
.EmptyDeadPositionList();
679
ValidationHelper.VerifyPosition(
_tree
, position);
780
return 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();
1517
return
_tree
.TextView == null ? false :
_tree
.TextView.IsValid &&
_tree
.TextView.Contains(this);
1545
_tree
.EmptyDeadPositionList();
1566
_tree
.EmptyDeadPositionList();
1594
_tree
.EmptyDeadPositionList();
1604
TextSegment lineRange =
_tree
.TextView.GetLineRange(this);
1645
_tree
.EmptyDeadPositionList();
1664
_tree
.EmptyDeadPositionList();
1851
ValidationHelper.VerifyPosition(
_tree
, textPosition);
1855
_tree
.EmptyDeadPositionList();
1860
MoveToNode(
_tree
, textPosition.Node, textPosition.Edge);
1897
_tree
.EmptyDeadPositionList();
1911
symbolOffset =
_tree
.InternalSymbolCount - 1;
1921
else if (symbolOffset >
_tree
.InternalSymbolCount - 1)
1926
offset -= (symbolOffset - (
_tree
.InternalSymbolCount - 1));
1927
symbolOffset =
_tree
.InternalSymbolCount - 1;
1930
_tree
.GetNodeAndEdgeAtOffset(symbolOffset, out node, out edge);
1931
MoveToNode(
_tree
, (TextTreeNode)node, edge);
1976
_tree
.EmptyDeadPositionList();
2032
_tree
.EmptyDeadPositionList();
2075
_tree
.EmptyDeadPositionList();
2117
_tree
.EmptyDeadPositionList();
2120
return 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();
2432
ValidationHelper.VerifyPosition(
_tree
, position);
2502
_tree
.EmptyDeadPositionList();
2526
_tree
.EmptyDeadPositionList();
2543
_tree
.EmptyDeadPositionList();
2564
_tree
.EmptyDeadPositionList();
2567
return new StaticTextPointer(
_tree
, _node, _node.GetOffsetFromEdge(this.Edge));
2624
_tree
.EmptyDeadPositionList();
2644
MoveToNode(
_tree
, elementNode, edge);
2682
_tree
.EmptyDeadPositionList();
2696
if (!
_tree
.TextView.IsAtCaretUnitBoundary(this))
2699
position = (TextPointer)
_tree
.TextView.GetNextCaretUnitPosition(this, oppositeDirection);
2716
_tree
.EmptyDeadPositionList();
2728
position = (TextPointer)
_tree
.TextView.GetNextCaretUnitPosition(this, direction);
2747
_tree
.EmptyDeadPositionList();
2759
position = (TextPointer)
_tree
.TextView.GetBackspaceCaretUnitPosition(this);
2784
_tree
.BeginChange();
2792
_tree
.EndChange();
2805
return TextPointerBase.ValidateLayout(this,
_tree
.TextView);
2902
return GetSymbolOffset(
_tree
, _node, this.Edge);
2959
if (_generation ==
_tree
.PositionGeneration)
3050
_generation =
_tree
.PositionGeneration;
3085
Invariant.Assert(_generation ==
_tree
.PositionGeneration, "TextPointer not synchronized to tree generation!");
3092
return GetNextNodeAndEdge(_node, this.Edge,
_tree
.PlainTextOnly, out node, out edge);
3262
return GetPreviousNodeAndEdge(_node, this.Edge,
_tree
.PlainTextOnly, out node, out edge);
3613
_tree
.EmptyDeadPositionList();
3648
_tree
.EmptyDeadPositionList();
3657
if (_layoutGeneration !=
_tree
.LayoutGeneration)
3664
this.CaretUnitBoundaryCache =
_tree
.IsAtCaretUnitBoundary(this);
3665
_layoutGeneration =
_tree
.LayoutGeneration;
3716
_tree
.EmptyDeadPositionList();
3739
_tree
.EmptyDeadPositionList();
3782
return
_tree
;
3793
return ((FrameworkElement)
_tree
.Parent);
3863
_tree
.EmptyDeadPositionList();
4163
Invariant.Assert(
_tree
!= null, "Position has no tree!");