2 writes to _tree
PresentationFramework (2)
System\Windows\Documents\TextPointer.cs (2)
3927
_tree
= tree;
4100
_tree
= tree;
98 references to _tree
PresentationFramework (98)
System\Windows\Documents\TextPointer.cs (98)
433
_tree
.EmptyDeadPositionList();
460
_tree
.EmptyDeadPositionList();
462
ValidationHelper.VerifyPosition(
_tree
, position);
542
_tree
.EmptyDeadPositionList();
564
_tree
.EmptyDeadPositionList();
575
if (
_tree
.PlainTextOnly)
583
count =
_tree
.InternalSymbolCount - this.GetSymbolOffset() - 1;
676
_tree
.EmptyDeadPositionList();
678
ValidationHelper.VerifyPosition(
_tree
, position);
779
return textNode == null ? 0 : GetTextInRun(
_tree
, GetSymbolOffset(), textNode, -1, direction, textBuffer, startIndex, count);
807
_tree
.EmptyDeadPositionList();
1246
_tree
.EmptyDeadPositionList();
1273
_tree
.EmptyDeadPositionList();
1287
_tree
.BeginChange();
1290
_tree
.InsertTextInternal(insertPosition, textData);
1294
_tree
.EndChange();
1314
_tree
.EmptyDeadPositionList();
1342
_tree
.BeginChange();
1347
_tree
.DeleteContentInternal(this, deleteToPosition);
1351
_tree
.DeleteContentInternal(deleteToPosition, this);
1356
_tree
.EndChange();
1384
_tree
.EmptyDeadPositionList();
1414
_tree
.EmptyDeadPositionList();
1436
_tree
.BeginChange();
1443
_tree
.EndChange();
1459
_tree
.EmptyDeadPositionList();
1464
_tree
.BeginChange();
1471
_tree
.EndChange();
1516
return
_tree
.TextView == null ? false :
_tree
.TextView.IsValid &&
_tree
.TextView.Contains(this);
1544
_tree
.EmptyDeadPositionList();
1565
_tree
.EmptyDeadPositionList();
1593
_tree
.EmptyDeadPositionList();
1603
TextSegment lineRange =
_tree
.TextView.GetLineRange(this);
1644
_tree
.EmptyDeadPositionList();
1663
_tree
.EmptyDeadPositionList();
1850
ValidationHelper.VerifyPosition(
_tree
, textPosition);
1854
_tree
.EmptyDeadPositionList();
1859
MoveToNode(
_tree
, textPosition.Node, textPosition.Edge);
1896
_tree
.EmptyDeadPositionList();
1910
symbolOffset =
_tree
.InternalSymbolCount - 1;
1920
else if (symbolOffset >
_tree
.InternalSymbolCount - 1)
1925
offset -= (symbolOffset - (
_tree
.InternalSymbolCount - 1));
1926
symbolOffset =
_tree
.InternalSymbolCount - 1;
1929
_tree
.GetNodeAndEdgeAtOffset(symbolOffset, out node, out edge);
1930
MoveToNode(
_tree
, (TextTreeNode)node, edge);
1975
_tree
.EmptyDeadPositionList();
2031
_tree
.EmptyDeadPositionList();
2074
_tree
.EmptyDeadPositionList();
2116
_tree
.EmptyDeadPositionList();
2119
return TextPointerBase.MoveToLineBoundary(this,
_tree
.TextView, count);
2140
_tree
.EmptyDeadPositionList();
2150
_tree
.BeginChange();
2153
_tree
.InsertEmbeddedObjectInternal(this, uiElement);
2157
_tree
.EndChange();
2166
_tree
.EmptyDeadPositionList();
2189
_tree
.EmptyDeadPositionList();
2290
_tree
.EmptyDeadPositionList();
2313
_tree
.EmptyDeadPositionList();
2337
_tree
.EmptyDeadPositionList();
2414
_tree
.EmptyDeadPositionList();
2429
_tree
.EmptyDeadPositionList();
2431
ValidationHelper.VerifyPosition(
_tree
, position);
2501
_tree
.EmptyDeadPositionList();
2525
_tree
.EmptyDeadPositionList();
2542
_tree
.EmptyDeadPositionList();
2563
_tree
.EmptyDeadPositionList();
2566
return new StaticTextPointer(
_tree
, _node, _node.GetOffsetFromEdge(this.Edge));
2623
_tree
.EmptyDeadPositionList();
2643
MoveToNode(
_tree
, elementNode, edge);
2681
_tree
.EmptyDeadPositionList();
2695
if (!
_tree
.TextView.IsAtCaretUnitBoundary(this))
2698
position = (TextPointer)
_tree
.TextView.GetNextCaretUnitPosition(this, oppositeDirection);
2715
_tree
.EmptyDeadPositionList();
2727
position = (TextPointer)
_tree
.TextView.GetNextCaretUnitPosition(this, direction);
2746
_tree
.EmptyDeadPositionList();
2758
position = (TextPointer)
_tree
.TextView.GetBackspaceCaretUnitPosition(this);
2783
_tree
.BeginChange();
2791
_tree
.EndChange();
2804
return TextPointerBase.ValidateLayout(this,
_tree
.TextView);
2901
return GetSymbolOffset(
_tree
, _node, this.Edge);
2958
if (_generation ==
_tree
.PositionGeneration)
3049
_generation =
_tree
.PositionGeneration;
3084
Invariant.Assert(_generation ==
_tree
.PositionGeneration, "TextPointer not synchronized to tree generation!");
3091
return GetNextNodeAndEdge(_node, this.Edge,
_tree
.PlainTextOnly, out node, out edge);
3261
return GetPreviousNodeAndEdge(_node, this.Edge,
_tree
.PlainTextOnly, out node, out edge);
3612
_tree
.EmptyDeadPositionList();
3647
_tree
.EmptyDeadPositionList();
3656
if (_layoutGeneration !=
_tree
.LayoutGeneration)
3663
this.CaretUnitBoundaryCache =
_tree
.IsAtCaretUnitBoundary(this);
3664
_layoutGeneration =
_tree
.LayoutGeneration;
3715
_tree
.EmptyDeadPositionList();
3738
_tree
.EmptyDeadPositionList();
3781
return
_tree
;
3792
return ((FrameworkElement)
_tree
.Parent);
3862
_tree
.EmptyDeadPositionList();
4162
Invariant.Assert(
_tree
!= null, "Position has no tree!");