TextDiffHierarchyOperation Enum

Specifies what happened to a chunk between the old and the new text at one level of a hierarchy diff.

public enum TextDiffHierarchyOperation

Fields

NameValueDescription
Equal0The chunk is present in both texts.
Insert1The chunk is only present in the new text.
Delete2The chunk is only present in the old text.
Replace3A chunk of the old text was replaced by a chunk of the new text. When a finer chunker is available, TextDiffHierarchyEntry.Children holds the diff of the two chunks at that level.