DifferenceMappingMode Enumeration

 

The mapping modes that can be used when mapping points inside a difference between the left and right snapshots.

Namespace:   Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

public enum DifferenceMappingMode

Member nameDescription
End

Map any point in a difference to the end of the corresponding difference in the other snapshot.

LineColumn

Map any point in a difference to the corresponding line/column of the corresponding difference in the other snapshot.

If the difference in the other snapshot doesn't have a corresponding line, the point is mapped to the end of the difference. If the column is greater than the length of the corresponding line in the other snapshot, then the point is mapped to the end of the corresponding line.

Start

Map any point in a difference to the start of the corresponding difference in the other snapshot.

Return to top
Show: