A clean backport to jfx22u. The fix is for rtl text issue, where the caret position is at the wrong position. I have tested the fix it is working with the fix and failing without the fix.
------------- Commit messages: - Backport 1fb56e333bc65860cc1abeebd1cbb01cd8b8e5f3 Changes: https://git.openjdk.org/jfx22u/pull/12/files Webrev: https://webrevs.openjdk.org/?repo=jfx22u&pr=12&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8323880 Stats: 12 lines in 1 file changed: 12 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jfx22u/pull/12.diff Fetch: git fetch https://git.openjdk.org/jfx22u.git pull/12/head:pull/12 PR: https://git.openjdk.org/jfx22u/pull/12
