K3TextRange
A selection range from start to end in a text.
There is no restriction to the values nor ordering of start and end. It may happen that start > end, and that is perfectly fine. If ordering is important, min and max should be used.
If start == end, then this range represents a collapsed selection (commonly known as cursor).