Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I get a possible caret position, using scene coordinates? #368

Closed
RodrigoSantiago opened this issue Oct 1, 2016 · 2 comments
Closed

Comments

@RodrigoSantiago
Copy link

I've seen some similar examples but not well explained, and I don't know if it's really possible

@JordanMartinez
Copy link
Contributor

If you're using the latest release, use StyledTextArea#hit(double x, double y) It'll give you back the position of the caret.

@JordanMartinez
Copy link
Contributor

Use hit(double x, double y). See the javadoc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants