howl
howl copied to clipboard
Selecting multiple lines behaves in unexpected way for last line
If you highlight a line and your cursor is in the last position of the line, and you hold shift, and press down, the cursor position might be kept as the last character in the line or it might not.
I'm unsure about the logic behind it, but seems unexpected to me.
I believe it will always go to the same position on each line. If you go to a shorter line, it can't go to the same position so it will go to the end of the line, but the original position is preserved as long as the selection is active.
If you can describe some steps to reproduce unexpected behavior, that would be great!
Made a video showing the issue https://youtu.be/fPGXzFdZY9w
Well, let me know if more info is needed.
Confirmed?
Yup.
Steps to repro:
- In a new buffer write
abc
def
g
- Position cursor between
a
andb
- Press
shift_down
two times Expected:g
is selected Seen:g
is not selected, cursor is beforeg
.