-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
jump-by-word (^+right) goes too far when tabs are involved #237
Comments
I would like to take this issue, but I'm not totally sure if I get it right. May you please explain it a bit more? |
^-right from beginning of the line goes to the wrong place when the line is indented with a tab -- it should go to the same position as if the line were indented with spaces |
I couldn't reproduce this, it seems just the same for me. I tested it on the given example above and one on a random example |
do you have an actual tab character? |
Yes, I do. Probably I'm doing something wrong! |
try these two (press ^Right after opening either of them)
|
yeah see how they are not the same? |
Oh, I get it now. That was so hard to notice for me! |
I tried to run Pytest before changing anything just to ensure that everything is working fine before I start but I get the following for some reason: Also, I should not trust |
going to assume you're new to software development -- usually the response to "No such file or directory: X" should be to figure out why you don't have X the existing tests should all pass after your change |
Clearly, the issue is from line 378 or it's because of the wrong value of comparison between tp and the current x. I tried to remove that and it was working fine for me, though I cannot ensure that will be right for all cases since I'm still not able to run the tests because of a problem with Hecate. Lines 376 to 381 in c51484c
|
As Murtada-Altarouti stop working on this issue. I want to ask what is expected behaviour on this? |
compare the following press ^+right when cursor is at left edge depending on whether it's a tab or a space
The text was updated successfully, but these errors were encountered: