5 implementations of MoveByOffset
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
460int ITextPointer.MoveByOffset(int distance)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
452int ITextPointer.MoveByOffset(int offset)
System\Windows\Documents\FixedTextPointer.cs (1)
390int ITextPointer.MoveByOffset(int offset)
System\Windows\Documents\NullTextNavigator.cs (1)
243int ITextPointer.MoveByOffset(int distance)
System\Windows\Documents\TextPointer.cs (1)
2602int ITextPointer.MoveByOffset(int offset)
35 references to MoveByOffset
PresentationFramework (35)
MS\Internal\PtsHost\Line.cs (1)
194position.MoveByOffset(-1);
MS\Internal\PtsHost\OptimalTextSource.cs (1)
145position.MoveByOffset(-1);
MS\Internal\PtsHost\TextParagraph.cs (2)
874textPointer.MoveByOffset(element.SymbolCount); 902textPointer.MoveByOffset(element.SymbolCount);
MS\Internal\Text\ComplexLine.cs (1)
95position.MoveByOffset(-1);
System\Windows\Controls\TextBlock.cs (1)
2295endOfLineTextPointer.MoveByOffset(lineMetrics.Length);
System\Windows\Documents\DocumentSequenceTextPointer.cs (3)
440/// <see cref="ITextPointer.MoveByOffset"/> 450/// <see cref="ITextPointer.MoveByOffset"/> 1061childTn.MoveByOffset(moveLength);
System\Windows\Documents\FixedTextPointer.cs (2)
374/// <see cref="ITextPointer.MoveByOffset"/> 388/// <see cref="ITextPointer.MoveByOffset"/>
System\Windows\Documents\FixedTextView.cs (1)
1196textPointer.MoveByOffset(increment);
System\Windows\Documents\ImmComposition.cs (4)
1404navigator.MoveByOffset(0 - copied); 1455navigator.MoveByOffset(copied); 1558position.MoveByOffset(-1); 1574position.MoveByOffset(1);
System\Windows\Documents\NullTextNavigator.cs (2)
229/// <see cref="ITextPointer.MoveByOffset"/> 241/// <see cref="ITextPointer.MoveByOffset"/>
System\Windows\Documents\Speller.cs (2)
1338searchPosition.MoveByOffset(direction == LogicalDirection.Backward ? -ContextBlockSize : +ContextBlockSize); 1707position.MoveByOffset(runCount);
System\Windows\Documents\TextFindEngine.cs (4)
269startMatchPosition.MoveByOffset(matchLast ? - findTextPositionMap[textStartIndex + matchIndex] : findTextPositionMap[matchIndex]); 272endMatchPosition.MoveByOffset(matchLast ? - findTextPositionMap[textStartIndex + matchIndex + matchLength] : findTextPositionMap[matchIndex + matchLength]); 284navigator.MoveByOffset(matchLast ? - findTextPositionMap[findText.Length - findTextLength + findPattern.Length] : findTextPositionMap[findTextLength - findPattern.Length]); 693navigator.MoveByOffset(matchLast ? - runCount : runCount);
System\Windows\Documents\TextPointerBase.cs (8)
991thisNavigator.MoveByOffset(increment); 998thisNavigator.MoveByOffset(increment); 1016thisNavigator.MoveByOffset(increment); 1027thisNavigator.MoveByOffset(increment); 1195thisNavigator.MoveByOffset(increment); 1242thisNavigator.MoveByOffset(-symbolCount); 1427navigator.MoveByOffset(-runLength); 1452navigator.MoveByOffset(runLength);
System\Windows\Documents\TextStore.cs (3)
2454navigator.MoveByOffset(runCount); 2567navigator.MoveByOffset(1); 2576navigator.MoveByOffset(1);