2 writes to _tree
PresentationFramework (2)
src\Framework\System\Windows\Documents\TextPointer.cs (2)
3959
_tree
= tree;
4132
_tree
= tree;
91 references to _tree
PresentationFramework (91)
src\Framework\System\Windows\Documents\TextPointer.cs (91)
450
_tree
.EmptyDeadPositionList();
477
_tree
.EmptyDeadPositionList();
479
ValidationHelper.VerifyPosition(
_tree
, position);
559
_tree
.EmptyDeadPositionList();
581
_tree
.EmptyDeadPositionList();
592
if (
_tree
.PlainTextOnly)
600
count =
_tree
.InternalSymbolCount - this.GetSymbolOffset() - 1;
693
_tree
.EmptyDeadPositionList();
695
ValidationHelper.VerifyPosition(
_tree
, position);
796
return textNode == null ? 0 : GetTextInRun(
_tree
, GetSymbolOffset(), textNode, -1, direction, textBuffer, startIndex, count);
824
_tree
.EmptyDeadPositionList();
1263
_tree
.EmptyDeadPositionList();
1293
_tree
.EmptyDeadPositionList();
1307
_tree
.BeginChange();
1310
_tree
.InsertTextInternal(insertPosition, textData);
1314
_tree
.EndChange();
1334
_tree
.EmptyDeadPositionList();
1362
_tree
.BeginChange();
1367
_tree
.DeleteContentInternal(this, deleteToPosition);
1371
_tree
.DeleteContentInternal(deleteToPosition, this);
1376
_tree
.EndChange();
1404
_tree
.EmptyDeadPositionList();
1434
_tree
.EmptyDeadPositionList();
1456
_tree
.BeginChange();
1463
_tree
.EndChange();
1479
_tree
.EmptyDeadPositionList();
1484
_tree
.BeginChange();
1491
_tree
.EndChange();
1536
return
_tree
.TextView == null ? false :
_tree
.TextView.IsValid &&
_tree
.TextView.Contains(this);
1564
_tree
.EmptyDeadPositionList();
1585
_tree
.EmptyDeadPositionList();
1613
_tree
.EmptyDeadPositionList();
1623
TextSegment lineRange =
_tree
.TextView.GetLineRange(this);
1664
_tree
.EmptyDeadPositionList();
1683
_tree
.EmptyDeadPositionList();
1873
ValidationHelper.VerifyPosition(
_tree
, textPosition);
1877
_tree
.EmptyDeadPositionList();
1882
MoveToNode(
_tree
, textPosition.Node, textPosition.Edge);
1919
_tree
.EmptyDeadPositionList();
1933
symbolOffset =
_tree
.InternalSymbolCount - 1;
1943
else if (symbolOffset >
_tree
.InternalSymbolCount - 1)
1948
offset -= (symbolOffset - (
_tree
.InternalSymbolCount - 1));
1949
symbolOffset =
_tree
.InternalSymbolCount - 1;
1952
_tree
.GetNodeAndEdgeAtOffset(symbolOffset, out node, out edge);
1953
MoveToNode(
_tree
, (TextTreeNode)node, edge);
1998
_tree
.EmptyDeadPositionList();
2054
_tree
.EmptyDeadPositionList();
2097
_tree
.EmptyDeadPositionList();
2139
_tree
.EmptyDeadPositionList();
2142
return TextPointerBase.MoveToLineBoundary(this,
_tree
.TextView, count);
2166
_tree
.EmptyDeadPositionList();
2176
_tree
.BeginChange();
2179
_tree
.InsertEmbeddedObjectInternal(this, uiElement);
2183
_tree
.EndChange();
2192
_tree
.EmptyDeadPositionList();
2215
_tree
.EmptyDeadPositionList();
2316
_tree
.EmptyDeadPositionList();
2339
_tree
.EmptyDeadPositionList();
2363
_tree
.EmptyDeadPositionList();
2440
_tree
.EmptyDeadPositionList();
2455
_tree
.EmptyDeadPositionList();
2457
ValidationHelper.VerifyPosition(
_tree
, position);
2530
_tree
.EmptyDeadPositionList();
2557
_tree
.EmptyDeadPositionList();
2574
_tree
.EmptyDeadPositionList();
2595
_tree
.EmptyDeadPositionList();
2598
return new StaticTextPointer(
_tree
, _node, _node.GetOffsetFromEdge(this.Edge));
2655
_tree
.EmptyDeadPositionList();
2675
MoveToNode(
_tree
, elementNode, edge);
2815
_tree
.BeginChange();
2823
_tree
.EndChange();
2836
return TextPointerBase.ValidateLayout(this,
_tree
.TextView);
2933
return GetSymbolOffset(
_tree
, _node, this.Edge);
2990
if (_generation ==
_tree
.PositionGeneration)
3081
_generation =
_tree
.PositionGeneration;
3116
Invariant.Assert(_generation ==
_tree
.PositionGeneration, "TextPointer not synchronized to tree generation!");
3123
return GetNextNodeAndEdge(_node, this.Edge,
_tree
.PlainTextOnly, out node, out edge);
3293
return GetPreviousNodeAndEdge(_node, this.Edge,
_tree
.PlainTextOnly, out node, out edge);
3644
_tree
.EmptyDeadPositionList();
3679
_tree
.EmptyDeadPositionList();
3688
if (_layoutGeneration !=
_tree
.LayoutGeneration)
3695
this.CaretUnitBoundaryCache =
_tree
.IsAtCaretUnitBoundary(this);
3696
_layoutGeneration =
_tree
.LayoutGeneration;
3747
_tree
.EmptyDeadPositionList();
3770
_tree
.EmptyDeadPositionList();
3813
return
_tree
;
3824
return ((FrameworkElement)
_tree
.Parent);
3894
_tree
.EmptyDeadPositionList();
4194
Invariant.Assert(
_tree
!= null, "Position has no tree!");