Navigation Menu

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

Wrong Y coordinate position reported when cursor is on last character of first line #3

Closed
sandeep45 opened this issue May 2, 2013 · 1 comment

Comments

@sandeep45
Copy link

If i am on the last character of first line, it will report Y-cordinate of the second line.

http://screencast.com/t/CuAijMVm9s3C

@amasad amasad closed this as completed in 294101c May 28, 2013
@HaiColon
Copy link

The change made doesn't work for me, but if I remove it, the position returned for the caret is correct.

You can verify this by using the demo jsfiddle, just write the word "test" a few times until it wraps to the next line, then move the caret to the beginning of the second line. The position will be shown to be at the end of the first line instead.

This happens in Google Chrome (latest stable release, 29.0.1547.57). In Firefox, the position seems to be wrong with or without the change in wrapped lines.

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