On Tue, 27 Jun 2023 16:13:03 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
> I think not only it shows incorrect insertion index when you move the mouse > across that emoji (in Text.hitTest goes from 0 to 1, while expected change is > 2), but I think it's also wrong because that emoji is the last symbol in that > Text instance, so insertion index should be different (larger). Looks like the wrong insertion index is getting reported after 2nd line. I'll fix this issue. >Are you reporting insertion index relative to the Text's text or TextRun? The insertion index is reported relative to the Text's text incase of Text node. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1157#issuecomment-1609967354