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 VisualLineMode leaving selection after escape #4717

Merged
merged 7 commits into from Apr 24, 2020

Conversation

berknam
Copy link
Contributor

@berknam berknam commented Apr 3, 2020

What this PR does / why we need it:
With the new refactors to the modeHandler.updateView if you go into VisualLine mode, then escape to normal mode, then reselect with 'gv' and escape again, it goes to normal mode but leaves the selection visible, because the 'visualLineStartColumn' is undefined.

Which issue(s) this PR fixes
Fixes issue #4716

@J-Fields
Copy link
Member

LGTM, other than small nitpick

@J-Fields J-Fields merged commit 3967512 into VSCodeVim:master Apr 24, 2020
berknam added a commit to berknam/Vim that referenced this pull request May 5, 2020
With the new refactors to the modeHandler.updateView if you go into VisualLine mode, then escape to normal mode, then reselect with 'gv' and escape again, it goes to normal mode but leaves the selection visible, because the 'visualLineStartColumn' is undefined.

Fixes VSCodeVim#4716
@berknam berknam deleted the fixVisualLineModeEscaping branch May 12, 2020 16:38
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.

None yet

2 participants