Freigeben über


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)

Syntax

'Declaration
Public Enumeration DifferenceMappingMode
public enum DifferenceMappingMode
public enum class DifferenceMappingMode
type DifferenceMappingMode
public enum DifferenceMappingMode

Members

Member name Description
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.

See Also

Reference

Microsoft.VisualStudio.Text.Differencing Namespace