AvalonEdit
GetNewOffset Method (oldOffset, movementType)
NamespacesICSharpCode.AvalonEdit.DocumentOffsetChangeMapEntryGetNewOffset(Int32, AnchorMovementType)
Gets the new offset where the specified offset moves after this document change.
Declaration Syntax
C#Visual BasicVisual C++
public int GetNewOffset(
	int oldOffset,
	AnchorMovementType movementType = AnchorMovementType.Default
)
Public Function GetNewOffset ( _
	oldOffset As Integer, _
	Optional movementType As AnchorMovementType = AnchorMovementType.Default _
) As Integer
public:
int GetNewOffset(
	int oldOffset, 
	AnchorMovementType movementType = AnchorMovementType::Default
)
Parameters
oldOffset (Int32)
movementType (AnchorMovementType) (Optional)

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