15 references to ITextPosition
PresentationFramework (15)
MS\Internal\PtsHost\DirtyTextRange.cs (1)
40StartIndex = change.ITextPosition.Offset;
System\Windows\Documents\FlowDocument.cs (3)
1491segmentEnd = args.ITextPosition.CreatePointer(args.Count, LogicalDirection.Forward); 1495segmentEnd = args.ITextPosition; 1515_formatter.OnContentInvalidated(!args.AffectsRenderOnly, args.ITextPosition, segmentEnd);
System\Windows\Documents\SpellerStatusTable.cs (10)
67OnContentRemoved(e.ITextPosition); 72ITextPointer end = e.ITextPosition.CreatePointer(e.Count); 74MarkDirtyRange(e.ITextPosition, end); 559if (e.ITextPosition.Offset > 0) 561start = e.ITextPosition.CreatePointer(-1); 565start = e.ITextPosition; 569if (e.ITextPosition.Offset + e.Count < e.ITextPosition.TextContainer.SymbolCount - 1) 571end = e.ITextPosition.CreatePointer(e.Count + 1); 575end = e.ITextPosition.CreatePointer(e.Count);
System\Windows\Documents\TextStore.cs (1)
2234change.start = args.ITextPosition.CharOffset;