Is there a way to tell if text is highlighted in a text box? Also, can you find out how much of the text is highlighted or what portion?

Thanks,
Ryan