How to get specific text value from a textbox based upon the mouse position
问题 I have a multi-line text box that displays some values based on data it gets given, (Generally one value per line). (For the purpose of having a tool tip popup with some 'alternative' data) I would like to get the word (or at the very least the line) that the mouse is hovering over so I can then find what alternative to display. I have a few ideas of how to do this with calculations based on the text box and font sizes but I do not what to go down this road as the sizes and fonts may change