In JavaFX, in some text control like TextArea or similar, I want to be able to convert from mouse event coordinates to know exactly which character location is under the mouse. Is there some straightforward way to do that?

In Swing, you can use JTextArea.viewToModel, but I can't find the equivalent in JavaFX yet.

Specifically, I'm trying to find the location in the text (row/column) where mouse events occur. Knowing which side of the char it occurs on would be nice, too, though I don't know if that's supported.

Put another way, I want to decorate the character on mouse over.