19 references to GetSymbolOffset
PresentationFramework (19)
System\Windows\Documents\TextContainer.cs (8)
495
nodeOffset = (offset + 1) - node.
GetSymbolOffset
(this.Generation);
540
offset = node.
GetSymbolOffset
(this.Generation) + nodeOffset;
568
return textNode == null ? 0 : TextPointer.GetTextInRun(this, textNode.
GetSymbolOffset
(this.Generation), textNode, nodeOffset, direction, textBuffer, startIndex, count);
915
symbolOffset = textNode.
GetSymbolOffset
(this.Generation);
1081
symbolOffset = elementNode.
GetSymbolOffset
(this.Generation);
1197
symbolOffset = objectNode.
GetSymbolOffset
(this.Generation);
2460
elementText = TextTreeText.CutText(_rootNode.RootTextBlock, elementNode.
GetSymbolOffset
(this.Generation), elementNode.SymbolCount);
2801
symbolOffset = elementNode.
GetSymbolOffset
(this.Generation);
System\Windows\Documents\TextElement.cs (4)
1254
return _textElementNode.
GetSymbolOffset
(EnsureTextContainer().Generation) - 1;
1266
return _textElementNode.
GetSymbolOffset
(EnsureTextContainer().Generation);
1278
return _textElementNode.
GetSymbolOffset
(EnsureTextContainer().Generation) + _textElementNode.SymbolCount - 2;
1290
return _textElementNode.
GetSymbolOffset
(EnsureTextContainer().Generation) + _textElementNode.SymbolCount - 1;
System\Windows\Documents\TextPointer.cs (4)
2918
offset = node.
GetSymbolOffset
(tree.Generation);
2922
offset = node.
GetSymbolOffset
(tree.Generation) + 1;
2926
offset = node.
GetSymbolOffset
(tree.Generation) + node.SymbolCount - 1;
2930
offset = node.
GetSymbolOffset
(tree.Generation) + node.SymbolCount;
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
225
symbolOffset = textNode.
GetSymbolOffset
(this.TextContainer.Generation);
System\Windows\Documents\TextTreeExtractElementUndoUnit.cs (1)
27
: base(tree, elementNode.
GetSymbolOffset
(tree.Generation))
System\Windows\Documents\TextTreeUndo.cs (1)
67
undoManager.Add(new TextTreePropertyUndoUnit(textContainer, element.TextElementNode.
GetSymbolOffset
(textContainer.Generation) + 1, record));