displaying a multiline String. What would be the nicest way (or any way) to find out which line of this Text is under the mouse cursor?
I see that
Text
has
onTextLayout
, so I guess I can use it to calculate stuff, so then the question boils down to:
How do I get coordinates of the mouse cursor relative to the currently rendered Composable underneath it?