15 references to GetSymbolOffset
PresentationFramework (15)
System\Windows\Documents\TextContainer.cs (3)
1587
if (_rootNode.CaretUnitBoundaryCacheOffset != position.
GetSymbolOffset
())
1589
_rootNode.CaretUnitBoundaryCacheOffset = position.
GetSymbolOffset
();
2317
symbolOffset = startPosition.
GetSymbolOffset
();
System\Windows\Documents\TextPointer.cs (10)
468
offsetThis =
GetSymbolOffset
();
469
offsetPosition = position.
GetSymbolOffset
();
584
count = _tree.InternalSymbolCount - this.
GetSymbolOffset
() - 1;
588
count = this.
GetSymbolOffset
() - 1;
684
return (position.
GetSymbolOffset
() -
GetSymbolOffset
());
780
return textNode == null ? 0 : GetTextInRun(_tree,
GetSymbolOffset
(), textNode, -1, direction, textBuffer, startIndex, count);
1903
currentOffset =
GetSymbolOffset
();
3719
return
GetSymbolOffset
() - 1;
3903
offset = position.
GetSymbolOffset
() + distance;
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
31
internal TextTreeDeleteContentUndoUnit(TextContainer tree, TextPointer start, TextPointer end) : base(tree, start.
GetSymbolOffset
())
System\Windows\Documents\TextTreeDumper.cs (1)
97
Debug.WriteLine($"Offset: {position.
GetSymbolOffset
()} {position}");