AvalonEdit
OffsetChangeMapEntry Structure
NamespacesICSharpCode.AvalonEdit.DocumentOffsetChangeMapEntry
An entry in the OffsetChangeMap. This represents the offset of a document change (either insertion or removal, not both at once).
Declaration Syntax
C#Visual BasicVisual C++
[SerializableAttribute]
public struct OffsetChangeMapEntry : IEquatable<OffsetChangeMapEntry>
<SerializableAttribute> _
Public Structure OffsetChangeMapEntry _
	Implements IEquatable(Of OffsetChangeMapEntry)
[SerializableAttribute]
public value class OffsetChangeMapEntry : IEquatable<OffsetChangeMapEntry>
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
OffsetChangeMapEntry(Int32, Int32, Int32)
Creates a new OffsetChangeMapEntry instance.

OffsetChangeMapEntry(Int32, Int32, Int32, Boolean, Boolean)
Creates a new OffsetChangeMapEntry instance.

DefaultAnchorMovementIsBeforeInsertion
Gets whether default anchor movement causes the anchor to stay in front of the caret.

Equality(OffsetChangeMapEntry, OffsetChangeMapEntry)
Tests the two entries for equality.

Equals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueType.Equals(Object).)
Equals(OffsetChangeMapEntry)
Indicates whether the current object is equal to another object of the same type.

GetHashCode()()()()
Returns the hash code for this instance.
(Overrides ValueType.GetHashCode()()()().)
GetNewOffset(Int32, AnchorMovementType)
Gets the new offset where the specified offset moves after this document change.

GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Inequality(OffsetChangeMapEntry, OffsetChangeMapEntry)
Tests the two entries for inequality.

InsertionLength
The number of characters inserted. Returns 0 if this entry represents a removal.

Offset
The offset at which the change occurs.

RemovalLength
The number of characters removed. Returns 0 if this entry represents an insertion.

RemovalNeverCausesAnchorDeletion
Gets whether the removal should not cause any anchor deletions.

ToString()()()()
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)

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