Base:
property
SymbolCount
System.Windows.Documents.SplayTreeNode.SymbolCount
1 write to SymbolCount
PresentationFramework (1)
System\Windows\Documents\TextContainer.cs (1)
2259elementNode.SymbolCount = childSymbolCount + 2;
19 references to SymbolCount
PresentationFramework (19)
System\Windows\Documents\TextContainer.cs (12)
1128AddChange(startEdgePosition, endEdgePosition, elementNode.SymbolCount, 2249childSymbolCount = elementNode.SymbolCount - 2; 2460elementText = TextTreeText.CutText(_rootNode.RootTextBlock, elementNode.GetSymbolOffset(this.Generation), elementNode.SymbolCount); 2472UpdateContainerSymbolCount(containingNode, -elementNode.SymbolCount, -imeCharCountInOriginalContainer); 2480Invariant.Assert(elementText.Length == elementNode.SymbolCount); 2481tree.UpdateContainerSymbolCount(elementNode.GetContainingNode(), elementNode.SymbolCount, elementNode.IMECharCount); 2489symbolCount += elementNode.SymbolCount; 2888TextTreeText.RemoveElementEdges(_rootNode.RootTextBlock, symbolOffset, elementNode.SymbolCount); 2896elementText = TextTreeText.CutText(_rootNode.RootTextBlock, symbolOffset, elementNode.SymbolCount); 2903UpdateContainerSymbolCount(containingNode, -elementNode.SymbolCount, -imeCharCount + nextNodeCharDelta + containedNodeCharDelta); 2928AddChange(startPosition, endPosition, elementNode.SymbolCount, 3517_symbolCount = node.SymbolCount;
System\Windows\Documents\TextElement.cs (6)
408return new StaticTextPointer(tree, _textElementNode, _textElementNode.SymbolCount - 1); 449return new StaticTextPointer(tree, _textElementNode, _textElementNode.SymbolCount); 1021tree.AddChange(beforeStart, _textElementNode.SymbolCount, _textElementNode.IMECharCount, 1278return _textElementNode.GetSymbolOffset(EnsureTextContainer().Generation) + _textElementNode.SymbolCount - 2; 1290return _textElementNode.GetSymbolOffset(EnsureTextContainer().Generation) + _textElementNode.SymbolCount - 1; 1302return this.IsInTree ? _textElementNode.SymbolCount : 2;
System\Windows\Documents\TextTreeExtractElementUndoUnit.cs (1)
29_symbolCount = elementNode.SymbolCount;