5 implementations of MoveByOffset
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
459int ITextPointer.MoveByOffset(int distance)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
451int ITextPointer.MoveByOffset(int offset)
System\Windows\Documents\FixedTextPointer.cs (1)
389int ITextPointer.MoveByOffset(int offset)
System\Windows\Documents\NullTextNavigator.cs (1)
242int ITextPointer.MoveByOffset(int distance)
System\Windows\Documents\TextPointer.cs (1)
2601int ITextPointer.MoveByOffset(int offset)
35 references to MoveByOffset
PresentationFramework (35)
MS\Internal\PtsHost\Line.cs (1)
193position.MoveByOffset(-1);
MS\Internal\PtsHost\OptimalTextSource.cs (1)
144position.MoveByOffset(-1);
MS\Internal\PtsHost\TextParagraph.cs (2)
873textPointer.MoveByOffset(element.SymbolCount); 901textPointer.MoveByOffset(element.SymbolCount);
MS\Internal\Text\ComplexLine.cs (1)
94position.MoveByOffset(-1);
System\Windows\Controls\TextBlock.cs (1)
2294endOfLineTextPointer.MoveByOffset(lineMetrics.Length);
System\Windows\Documents\DocumentSequenceTextPointer.cs (3)
439/// <see cref="ITextPointer.MoveByOffset"/> 449/// <see cref="ITextPointer.MoveByOffset"/> 1060childTn.MoveByOffset(moveLength);
System\Windows\Documents\FixedTextPointer.cs (2)
373/// <see cref="ITextPointer.MoveByOffset"/> 387/// <see cref="ITextPointer.MoveByOffset"/>
System\Windows\Documents\FixedTextView.cs (1)
1195textPointer.MoveByOffset(increment);
System\Windows\Documents\ImmComposition.cs (4)
1403navigator.MoveByOffset(0 - copied); 1454navigator.MoveByOffset(copied); 1557position.MoveByOffset(-1); 1573position.MoveByOffset(1);
System\Windows\Documents\NullTextNavigator.cs (2)
228/// <see cref="ITextPointer.MoveByOffset"/> 240/// <see cref="ITextPointer.MoveByOffset"/>
System\Windows\Documents\Speller.cs (2)
1337searchPosition.MoveByOffset(direction == LogicalDirection.Backward ? -ContextBlockSize : +ContextBlockSize); 1706position.MoveByOffset(runCount);
System\Windows\Documents\TextFindEngine.cs (4)
268startMatchPosition.MoveByOffset(matchLast ? - findTextPositionMap[textStartIndex + matchIndex] : findTextPositionMap[matchIndex]); 271endMatchPosition.MoveByOffset(matchLast ? - findTextPositionMap[textStartIndex + matchIndex + matchLength] : findTextPositionMap[matchIndex + matchLength]); 283navigator.MoveByOffset(matchLast ? - findTextPositionMap[findText.Length - findTextLength + findPattern.Length] : findTextPositionMap[findTextLength - findPattern.Length]); 692navigator.MoveByOffset(matchLast ? - runCount : runCount);
System\Windows\Documents\TextPointerBase.cs (8)
990thisNavigator.MoveByOffset(increment); 997thisNavigator.MoveByOffset(increment); 1015thisNavigator.MoveByOffset(increment); 1026thisNavigator.MoveByOffset(increment); 1194thisNavigator.MoveByOffset(increment); 1241thisNavigator.MoveByOffset(-symbolCount); 1426navigator.MoveByOffset(-runLength); 1451navigator.MoveByOffset(runLength);
System\Windows\Documents\TextStore.cs (3)
2453navigator.MoveByOffset(runCount); 2566navigator.MoveByOffset(1); 2575navigator.MoveByOffset(1);