Here is a picture of what I mean
Is there a way to get the start point and endpoint of the selection?