2 instantiations of TextTreeTextElementNode
PresentationFramework (2)
src\Framework\System\Windows\Documents\TextContainer.cs (1)
1039
elementNode = new
TextTreeTextElementNode
();
src\Framework\System\Windows\Documents\TextTreeTextElementNode.cs (1)
74
clone = new
TextTreeTextElementNode
();
84 references to TextTreeTextElementNode
PresentationFramework (84)
src\Framework\System\Windows\Documents\SplayTreeNode.cs (2)
345
TextTreeTextElementNode
elementNode = node as
TextTreeTextElementNode
;
src\Framework\System\Windows\Documents\TextContainer.cs (36)
954
TextTreeTextElementNode
elementNode;
1055
element.TextElementNode = (
TextTreeTextElementNode
)elementNode;
1060
TextTreeTextElementNode
newFirstIMEVisibleNode = null;
1079
TextTreeTextElementNode
formerFirstIMEVisibleNode = null;
1083
formerFirstIMEVisibleNode = (
TextTreeTextElementNode
)elementNode.GetNextNode();
1259
TextTreeTextElementNode
nextIMEVisibleNode = GetNextIMEVisibleNode(startPosition, endPosition);
1341
if (node is TextTreeRootNode || node is
TextTreeTextElementNode
)
1426
TextTreeTextElementNode
textElementNode = node as
TextTreeTextElementNode
;
2092
TextTreeTextElementNode
elementNode;
2101
elementNode = node as
TextTreeTextElementNode
;
2248
private int InsertElementToSiblingTree(TextPointer startPosition, TextPointer endPosition,
TextTreeTextElementNode
elementNode)
2282
private int InsertElementToSiblingTreeComplex(TextPointer startPosition, TextPointer endPosition,
TextTreeTextElementNode
elementNode,
2441
TextTreeTextElementNode
elementNode;
2467
elementNode = node as
TextTreeTextElementNode
;
2603
TextTreeTextElementNode
extractedElementNode)
2785
TextTreeTextElementNode
elementNode;
2867
TextTreeTextElementNode
nextNode = null;
2870
nextNode = (
TextTreeTextElementNode
)elementNode.GetNextNode();
2890
TextTreeTextElementNode
firstContainedElementNode = firstContainedChildNode as
TextTreeTextElementNode
;
2988
private void ExtractElementFromSiblingTree(SplayTreeNode containingNode,
TextTreeTextElementNode
elementNode, bool deep)
3119
private
TextTreeTextElementNode
DeepCopy(
TextTreeTextElementNode
elementNode)
3121
TextTreeTextElementNode
clone;
3123
clone = (
TextTreeTextElementNode
)elementNode.Clone();
3141
TextTreeTextElementNode
elementNode;
3148
elementNode = node as
TextTreeTextElementNode
;
3434
private
TextTreeTextElementNode
GetNextIMEVisibleNode(TextPointer startPosition, TextPointer endPosition)
3436
TextTreeTextElementNode
nextIMEVisibleNode = null;
3441
nextIMEVisibleNode = (
TextTreeTextElementNode
)endPosition.GetAdjacentSiblingNode(LogicalDirection.Forward);
3528
internal ExtractChangeEventArgs(TextContainer textTree, TextPointer startPosition,
TextTreeTextElementNode
node,
3529
TextTreeTextElementNode
newFirstIMEVisibleNode,
TextTreeTextElementNode
formerFirstIMEVisibleNode, int charCount, int childCharCount)
3611
private readonly
TextTreeTextElementNode
_newFirstIMEVisibleNode;
3614
private readonly
TextTreeTextElementNode
_formerFirstIMEVisibleNode;
src\Framework\System\Windows\Documents\TextElement.cs (10)
1354
internal
TextTreeTextElementNode
TextElementNode
1473
TextTreeTextElementNode
node = _textElementNode.GetNextNode() as
TextTreeTextElementNode
;
1491
TextTreeTextElementNode
node = _textElementNode.GetPreviousNode() as
TextTreeTextElementNode
;
1509
TextTreeTextElementNode
node = _textElementNode.GetFirstContainedNode() as
TextTreeTextElementNode
;
1527
TextTreeTextElementNode
node = _textElementNode.GetLastContainedNode() as
TextTreeTextElementNode
;
1685
private
TextTreeTextElementNode
_textElementNode;
src\Framework\System\Windows\Documents\TextElementCollection.cs (4)
757
TextTreeTextElementNode
node = this.TextContainer.FirstContainedNode as
TextTreeTextElementNode
;
780
TextTreeTextElementNode
node = this.TextContainer.LastContainedNode as
TextTreeTextElementNode
;
src\Framework\System\Windows\Documents\TextPointer.cs (21)
1844
else if (adjacentNode is
TextTreeTextElementNode
)
1846
element = ((
TextTreeTextElementNode
)adjacentNode).TextElement;
2190
TextTreeTextElementNode
elementNode;
2650
TextTreeTextElementNode
elementNode;
2660
elementNode = scopingNode as
TextTreeTextElementNode
;
2855
internal
TextTreeTextElementNode
GetAdjacentTextElementNodeSibling(LogicalDirection direction)
2857
return GetAdjacentSiblingNode(direction) as
TextTreeTextElementNode
;
2862
internal
TextTreeTextElementNode
GetAdjacentTextElementNode(LogicalDirection direction)
2864
return GetAdjacentNode(direction) as
TextTreeTextElementNode
;
3160
else if (currentNode is
TextTreeTextElementNode
)
3180
if (newNode is
TextTreeTextElementNode
)
3191
else if (currentNode is
TextTreeTextElementNode
)
3227
if (newNode is
TextTreeTextElementNode
)
3328
if (newNode is
TextTreeTextElementNode
)
3373
if (newNode is
TextTreeTextElementNode
)
3384
else if (currentNode is
TextTreeTextElementNode
)
3403
else if (currentNode is
TextTreeTextElementNode
)
3768
TextTreeTextElementNode
elementNode;
3784
elementNode = _node as
TextTreeTextElementNode
;
4150
TextTreeTextElementNode
elementNode;
4191
Invariant.Assert(_node is
TextTreeTextElementNode
, "Unknown node type!");
src\Framework\System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (4)
178
TextTreeTextElementNode
elementNode;
199
Invariant.Assert(node is
TextTreeTextElementNode
, "Unexpected TextTreeNode type!");
200
elementNode = (
TextTreeTextElementNode
)node;
290
private TextTreeNode CopyElementNode(
TextTreeTextElementNode
elementNode, out ContentContainer container)
src\Framework\System\Windows\Documents\TextTreeExtractElementUndoUnit.cs (1)
29
internal TextTreeExtractElementUndoUnit(TextContainer tree,
TextTreeTextElementNode
elementNode)
src\Framework\System\Windows\Documents\TextTreeNode.cs (4)
301
TextTreeTextElementNode
elementNode;
307
elementNode = node as
TextTreeTextElementNode
;
333
TextTreeTextElementNode
textElementNode;
351
textElementNode = node as
TextTreeTextElementNode
;
src\Framework\System\Windows\Documents\TextTreeTextElementNode.cs (1)
72
TextTreeTextElementNode
clone;
src\Framework\System\Windows\Documents\TextTreeUndo.cs (1)
99
internal static TextTreeExtractElementUndoUnit CreateExtractElementUndoUnit(TextContainer tree,
TextTreeTextElementNode
elementNode)