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