Calculates where the offset has moved in the other buffer version.
Declaration Syntax
C# | Visual Basic | Visual C++ |
int MoveOffsetTo( ITextSourceVersion other, int oldOffset, AnchorMovementType movement = AnchorMovementType.Default )
Function MoveOffsetTo ( _ other As ITextSourceVersion, _ oldOffset As Integer, _ Optional movement As AnchorMovementType = AnchorMovementType.Default _ ) As Integer
int MoveOffsetTo( ITextSourceVersion^ other, int oldOffset, AnchorMovementType movement = AnchorMovementType::Default )
Parameters
Exceptions
Exception | Condition |
---|---|
ArgumentException | Raised if 'other' belongs to a different document than this checkpoint. |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238