AvalonEdit
MoveOffsetTo Method (other, oldOffset, movement)
NamespacesICSharpCode.AvalonEdit.DocumentITextSourceVersionMoveOffsetTo(ITextSourceVersion, Int32, AnchorMovementType)
Calculates where the offset has moved in the other buffer version.
Declaration Syntax
C#Visual BasicVisual 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
other (ITextSourceVersion)
oldOffset (Int32)
movement (AnchorMovementType) (Optional)
Exceptions
ExceptionCondition
ArgumentExceptionRaised if 'other' belongs to a different document than this checkpoint.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238