PositionAffinity Enum

Definition

Describes whether a position in a ITextBuffer that can be thought of as lying between two characters is coupled to the preceding character or the following character.

public enum PositionAffinity
Inheritance
PositionAffinity

Fields

Predecessor

The position is coupled to the preceding character.

Successor

The position is coupled to the following character.

Remarks

This enumeration is used to disambiguate points in methods such as the following: