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

Fix reverse selecting in normal mode. #3712

Merged
merged 1 commit into from Apr 30, 2019

Conversation

kroton
Copy link
Contributor

@kroton kroton commented Apr 29, 2019

What this PR does / why we need it:
This fixes #1951 in normal mode.

Which issue(s) this PR fixes
#1951

Special notes for your reviewer:
I realized that a range object from reverse selecting in insert or normal mode is not corresponding to the user's selection.
In the PR #2062, native selections are used instead of ranges in insert mode.

I think there are two options to solve #1951.

  1. Fix the problem between ranges and user's selections.
  2. Use native selections instead of ranges in normal mode just like Bugfix #1951: text selection in insert mode #2062.

This PR is based on option 2.

@jpoon jpoon merged commit 8c75999 into VSCodeVim:master Apr 30, 2019
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.

Selecting text backwards in insert mode only selects first character
2 participants