How to get selected text from label or embedded html?
I've started working on an web app for learners of English that will allow them to upload texts to the app, read them via the app, and when they encounter an unknown word they will be able to look it up in the built-in dictionary and add it to a special list for later review.
My app will display rich text to the user and if he/she double-clicks on a word I need to know which word he/she clicked (selected).
1. Which widget should I use for displaying long rich texts with scrolling? It would be best if the text was not editable by the user.
2. How can I get the portion of the text selected by the user?