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

At beginning of line with all spaces, backspace causes error #3915

Closed
J-Fields opened this issue Jul 24, 2019 · 1 comment · Fixed by #3916
Closed

At beginning of line with all spaces, backspace causes error #3915

J-Fields opened this issue Jul 24, 2019 · 1 comment · Fixed by #3916
Labels

Comments

@J-Fields
Copy link
Member

Describe the bug
See issue title

To Reproduce
Steps to reproduce the behavior:

  1. On a line with only space characters, go to first column
  2. Enter insert mode with i
  3. Press <BS>
  4. Observe the error, nothing is deleted

Expected behavior
No error; newline is deleted

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.8.2
  • VSCode version: 1.36.1
  • OS: Windows 10
@J-Fields
Copy link
Member Author

This was identified here: #3361. I created this issue to isolate it among other similar problems.

jpoon pushed a commit that referenced this issue Jul 24, 2019
* Handle backspace on first character of all-space line correctly

Fixes #3915

* Code review: Use \s in regex
@jpoon jpoon added the kind/bug label Jul 29, 2019
stevenguh pushed a commit to stevenguh/Vim that referenced this issue Aug 27, 2019
…deVim#3916)

* Handle backspace on first character of all-space line correctly

Fixes VSCodeVim#3915

* Code review: Use \s in regex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants