Skip to content

Do correct cursor right with storing visual X in CursorRight action#3103

Merged
zyedidia merged 1 commit intomasterfrom
unknown repository
Jan 17, 2024
Merged

Do correct cursor right with storing visual X in CursorRight action#3103
zyedidia merged 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Dec 27, 2023

The description was provided by @vicencb:

Here is a concrete example to reproduce the issue i am referring to:

Given this text file:

1234
ABCD
EFGH
IJKL

Move the cursor to 1 if not already there, then SelectDown, then CursorRight and finally CursorDown.
After this, the cursor is expected to be at E but instead it is after the H.

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
@vicencb
Copy link
Copy Markdown

vicencb commented Dec 27, 2023

I've just tested it: the issue is fixed.
As this issue matched the description of #3055 i tried to avoid creating a duplicate.
Are those the same or not?

@ghost
Copy link
Copy Markdown
Author

ghost commented Dec 28, 2023

I've just tested it: the issue is fixed. As this issue matched the description of #3055 i tried to avoid creating a duplicate. Are those the same or not?

No the #3055 is about the fact that when you select with mouse the start and end pointers aren't swapped when it is necessary. See new comment in that issue

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

Successfully merging this pull request may close these issues.

3 participants