15 references to GetSymbolOffset
PresentationFramework (15)
System\Windows\Documents\TextContainer.cs (3)
1592
if (_rootNode.CaretUnitBoundaryCacheOffset != position.
GetSymbolOffset
())
1594
_rootNode.CaretUnitBoundaryCacheOffset = position.
GetSymbolOffset
();
2322
symbolOffset = startPosition.
GetSymbolOffset
();
System\Windows\Documents\TextPointer.cs (10)
473
offsetThis =
GetSymbolOffset
();
474
offsetPosition = position.
GetSymbolOffset
();
589
count = _tree.InternalSymbolCount - this.
GetSymbolOffset
() - 1;
593
count = this.
GetSymbolOffset
() - 1;
689
return (position.
GetSymbolOffset
() -
GetSymbolOffset
());
785
return textNode == null ? 0 : GetTextInRun(_tree,
GetSymbolOffset
(), textNode, -1, direction, textBuffer, startIndex, count);
1908
currentOffset =
GetSymbolOffset
();
3724
return
GetSymbolOffset
() - 1;
3908
offset = position.
GetSymbolOffset
() + distance;
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
33
internal TextTreeDeleteContentUndoUnit(TextContainer tree, TextPointer start, TextPointer end) : base(tree, start.
GetSymbolOffset
())
System\Windows\Documents\TextTreeDumper.cs (1)
100
Debug.WriteLine($"Offset: {position.
GetSymbolOffset
()} {position}");