TextAffinity
Defines the permissions which can be checked and requested.
TextAffinity
enum has the following values:
DOWNSTREAM
The position has affinity for the downstream side of the text position, i.e. in the direction of the end of the string.
UPSTREAM
The position has affinity for the upstream side of the text position, i.e. in the direction of the beginning of the string.