How to get the start and end points of selection in text area?

Printable View