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 cursor position after the j and k cursor movement commands #151

Open
scebotari66 opened this issue Jul 20, 2017 · 3 comments
Open
Labels
area:motions Issues related to any motion. waiting
Milestone

Comments

@scebotari66
Copy link

Sometimes, when moving the cursor up and down using the j and k commands, the cursor doesn't end up in the correct position.

Here is a test case that I've manged to come up with:
testcase

You can see that when I'm on the "i" character (Line 1, Column 24), and the hit j, the cursor does not go to the "C" character (Line 2, Column 24), but instead, it goes to the "o" (Line 2, Column 25). A similar behavior occurs when the cursor is on the "e" character (Line 1, Column 26).

Here is the test case file:
testcase.txt

@guillermooo
Copy link
Owner

Definitely a bug, but this will only happen if you use tabs for indentation.

@guillermooo guillermooo added this to the Wave 2 - Bugfixing milestone Jul 20, 2017
@scebotari66
Copy link
Author

That's what I do. Well, we all have sins 😊

@guillermooo
Copy link
Owner

ST must know how to do this already and I'm reverse engineering the details. I've requested APIs to solve this. In the meantime I'll try to improve the current situation.

@guillermooo guillermooo added limitation area:motions Issues related to any motion. labels Jun 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:motions Issues related to any motion. waiting
Projects
None yet
Development

No branches or pull requests

2 participants