5 implementations of MoveByOffset
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
464int ITextPointer.MoveByOffset(int distance)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
461int ITextPointer.MoveByOffset(int offset)
System\Windows\Documents\FixedTextPointer.cs (1)
397int ITextPointer.MoveByOffset(int offset)
System\Windows\Documents\NullTextNavigator.cs (1)
248int ITextPointer.MoveByOffset(int distance)
System\Windows\Documents\TextPointer.cs (1)
2607int ITextPointer.MoveByOffset(int offset)
35 references to MoveByOffset
PresentationFramework (35)
MS\Internal\PtsHost\Line.cs (1)
211position.MoveByOffset(-1);
MS\Internal\PtsHost\OptimalTextSource.cs (1)
160position.MoveByOffset(-1);
MS\Internal\PtsHost\TextParagraph.cs (2)
897textPointer.MoveByOffset(element.SymbolCount); 925textPointer.MoveByOffset(element.SymbolCount);
MS\Internal\Text\ComplexLine.cs (1)
100position.MoveByOffset(-1);
System\Windows\Controls\TextBlock.cs (1)
2316endOfLineTextPointer.MoveByOffset(lineMetrics.Length);
System\Windows\Documents\DocumentSequenceTextPointer.cs (3)
449/// <see cref="ITextPointer.MoveByOffset"/> 459/// <see cref="ITextPointer.MoveByOffset"/> 1070childTn.MoveByOffset(moveLength);
System\Windows\Documents\FixedTextPointer.cs (2)
381/// <see cref="ITextPointer.MoveByOffset"/> 395/// <see cref="ITextPointer.MoveByOffset"/>
System\Windows\Documents\FixedTextView.cs (1)
1215textPointer.MoveByOffset(increment);
System\Windows\Documents\ImmComposition.cs (4)
1425navigator.MoveByOffset(0 - copied); 1476navigator.MoveByOffset(copied); 1579position.MoveByOffset(-1); 1595position.MoveByOffset(1);
System\Windows\Documents\NullTextNavigator.cs (2)
234/// <see cref="ITextPointer.MoveByOffset"/> 246/// <see cref="ITextPointer.MoveByOffset"/>
System\Windows\Documents\Speller.cs (2)
1360searchPosition.MoveByOffset(direction == LogicalDirection.Backward ? -ContextBlockSize : +ContextBlockSize); 1739position.MoveByOffset(runCount);
System\Windows\Documents\TextFindEngine.cs (4)
278startMatchPosition.MoveByOffset(matchLast ? - findTextPositionMap[textStartIndex + matchIndex] : findTextPositionMap[matchIndex]); 281endMatchPosition.MoveByOffset(matchLast ? - findTextPositionMap[textStartIndex + matchIndex + matchLength] : findTextPositionMap[matchIndex + matchLength]); 293navigator.MoveByOffset(matchLast ? - findTextPositionMap[findText.Length - findTextLength + findPattern.Length] : findTextPositionMap[findTextLength - findPattern.Length]); 702navigator.MoveByOffset(matchLast ? - runCount : runCount);
System\Windows\Documents\TextPointerBase.cs (8)
996thisNavigator.MoveByOffset(increment); 1003thisNavigator.MoveByOffset(increment); 1021thisNavigator.MoveByOffset(increment); 1032thisNavigator.MoveByOffset(increment); 1200thisNavigator.MoveByOffset(increment); 1247thisNavigator.MoveByOffset(-symbolCount); 1432navigator.MoveByOffset(-runLength); 1457navigator.MoveByOffset(runLength);
System\Windows\Documents\TextStore.cs (3)
2480navigator.MoveByOffset(runCount); 2593navigator.MoveByOffset(1); 2602navigator.MoveByOffset(1);