15 references to GetSymbolOffset
PresentationFramework (15)
System\Windows\Documents\TextContainer.cs (3)
1580
if (_rootNode.CaretUnitBoundaryCacheOffset != position.
GetSymbolOffset
())
1582
_rootNode.CaretUnitBoundaryCacheOffset = position.
GetSymbolOffset
();
2304
symbolOffset = startPosition.
GetSymbolOffset
();
System\Windows\Documents\TextPointer.cs (10)
467
offsetThis =
GetSymbolOffset
();
468
offsetPosition = position.
GetSymbolOffset
();
583
count = _tree.InternalSymbolCount - this.
GetSymbolOffset
() - 1;
587
count = this.
GetSymbolOffset
() - 1;
683
return (position.
GetSymbolOffset
() -
GetSymbolOffset
());
779
return textNode == null ? 0 : GetTextInRun(_tree,
GetSymbolOffset
(), textNode, -1, direction, textBuffer, startIndex, count);
1902
currentOffset =
GetSymbolOffset
();
3718
return
GetSymbolOffset
() - 1;
3902
offset = position.
GetSymbolOffset
() + distance;
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
30
internal TextTreeDeleteContentUndoUnit(TextContainer tree, TextPointer start, TextPointer end) : base(tree, start.
GetSymbolOffset
())
System\Windows\Documents\TextTreeDumper.cs (1)
96
Debug.WriteLine($"Offset: {position.
GetSymbolOffset
()} {position}");