2 writes to _tree
PresentationFramework (2)
System\Windows\Documents\TextPointer.cs (2)
3933
_tree
= tree;
4106
_tree
= tree;
98 references to _tree
PresentationFramework (98)
System\Windows\Documents\TextPointer.cs (98)
439
_tree
.EmptyDeadPositionList();
466
_tree
.EmptyDeadPositionList();
468
ValidationHelper.VerifyPosition(
_tree
, position);
548
_tree
.EmptyDeadPositionList();
570
_tree
.EmptyDeadPositionList();
581
if (
_tree
.PlainTextOnly)
589
count =
_tree
.InternalSymbolCount - this.GetSymbolOffset() - 1;
682
_tree
.EmptyDeadPositionList();
684
ValidationHelper.VerifyPosition(
_tree
, position);
785
return textNode == null ? 0 : GetTextInRun(
_tree
, GetSymbolOffset(), textNode, -1, direction, textBuffer, startIndex, count);
813
_tree
.EmptyDeadPositionList();
1252
_tree
.EmptyDeadPositionList();
1279
_tree
.EmptyDeadPositionList();
1293
_tree
.BeginChange();
1296
_tree
.InsertTextInternal(insertPosition, textData);
1300
_tree
.EndChange();
1320
_tree
.EmptyDeadPositionList();
1348
_tree
.BeginChange();
1353
_tree
.DeleteContentInternal(this, deleteToPosition);
1357
_tree
.DeleteContentInternal(deleteToPosition, this);
1362
_tree
.EndChange();
1390
_tree
.EmptyDeadPositionList();
1420
_tree
.EmptyDeadPositionList();
1442
_tree
.BeginChange();
1449
_tree
.EndChange();
1465
_tree
.EmptyDeadPositionList();
1470
_tree
.BeginChange();
1477
_tree
.EndChange();
1522
return
_tree
.TextView == null ? false :
_tree
.TextView.IsValid &&
_tree
.TextView.Contains(this);
1550
_tree
.EmptyDeadPositionList();
1571
_tree
.EmptyDeadPositionList();
1599
_tree
.EmptyDeadPositionList();
1609
TextSegment lineRange =
_tree
.TextView.GetLineRange(this);
1650
_tree
.EmptyDeadPositionList();
1669
_tree
.EmptyDeadPositionList();
1856
ValidationHelper.VerifyPosition(
_tree
, textPosition);
1860
_tree
.EmptyDeadPositionList();
1865
MoveToNode(
_tree
, textPosition.Node, textPosition.Edge);
1902
_tree
.EmptyDeadPositionList();
1916
symbolOffset =
_tree
.InternalSymbolCount - 1;
1926
else if (symbolOffset >
_tree
.InternalSymbolCount - 1)
1931
offset -= (symbolOffset - (
_tree
.InternalSymbolCount - 1));
1932
symbolOffset =
_tree
.InternalSymbolCount - 1;
1935
_tree
.GetNodeAndEdgeAtOffset(symbolOffset, out node, out edge);
1936
MoveToNode(
_tree
, (TextTreeNode)node, edge);
1981
_tree
.EmptyDeadPositionList();
2037
_tree
.EmptyDeadPositionList();
2080
_tree
.EmptyDeadPositionList();
2122
_tree
.EmptyDeadPositionList();
2125
return TextPointerBase.MoveToLineBoundary(this,
_tree
.TextView, count);
2146
_tree
.EmptyDeadPositionList();
2156
_tree
.BeginChange();
2159
_tree
.InsertEmbeddedObjectInternal(this, uiElement);
2163
_tree
.EndChange();
2172
_tree
.EmptyDeadPositionList();
2195
_tree
.EmptyDeadPositionList();
2296
_tree
.EmptyDeadPositionList();
2319
_tree
.EmptyDeadPositionList();
2343
_tree
.EmptyDeadPositionList();
2420
_tree
.EmptyDeadPositionList();
2435
_tree
.EmptyDeadPositionList();
2437
ValidationHelper.VerifyPosition(
_tree
, position);
2507
_tree
.EmptyDeadPositionList();
2531
_tree
.EmptyDeadPositionList();
2548
_tree
.EmptyDeadPositionList();
2569
_tree
.EmptyDeadPositionList();
2572
return new StaticTextPointer(
_tree
, _node, _node.GetOffsetFromEdge(this.Edge));
2629
_tree
.EmptyDeadPositionList();
2649
MoveToNode(
_tree
, elementNode, edge);
2687
_tree
.EmptyDeadPositionList();
2701
if (!
_tree
.TextView.IsAtCaretUnitBoundary(this))
2704
position = (TextPointer)
_tree
.TextView.GetNextCaretUnitPosition(this, oppositeDirection);
2721
_tree
.EmptyDeadPositionList();
2733
position = (TextPointer)
_tree
.TextView.GetNextCaretUnitPosition(this, direction);
2752
_tree
.EmptyDeadPositionList();
2764
position = (TextPointer)
_tree
.TextView.GetBackspaceCaretUnitPosition(this);
2789
_tree
.BeginChange();
2797
_tree
.EndChange();
2810
return TextPointerBase.ValidateLayout(this,
_tree
.TextView);
2907
return GetSymbolOffset(
_tree
, _node, this.Edge);
2964
if (_generation ==
_tree
.PositionGeneration)
3055
_generation =
_tree
.PositionGeneration;
3090
Invariant.Assert(_generation ==
_tree
.PositionGeneration, "TextPointer not synchronized to tree generation!");
3097
return GetNextNodeAndEdge(_node, this.Edge,
_tree
.PlainTextOnly, out node, out edge);
3267
return GetPreviousNodeAndEdge(_node, this.Edge,
_tree
.PlainTextOnly, out node, out edge);
3618
_tree
.EmptyDeadPositionList();
3653
_tree
.EmptyDeadPositionList();
3662
if (_layoutGeneration !=
_tree
.LayoutGeneration)
3669
this.CaretUnitBoundaryCache =
_tree
.IsAtCaretUnitBoundary(this);
3670
_layoutGeneration =
_tree
.LayoutGeneration;
3721
_tree
.EmptyDeadPositionList();
3744
_tree
.EmptyDeadPositionList();
3787
return
_tree
;
3798
return ((FrameworkElement)
_tree
.Parent);
3868
_tree
.EmptyDeadPositionList();
4168
Invariant.Assert(
_tree
!= null, "Position has no tree!");