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

Failed to handle key j: Cannot read property 'substring' of undefined #7512

Closed
adrianmkng opened this issue Feb 17, 2022 · 0 comments · Fixed by #7513
Closed

Failed to handle key j: Cannot read property 'substring' of undefined #7512

adrianmkng opened this issue Feb 17, 2022 · 0 comments · Fixed by #7513
Labels

Comments

@adrianmkng
Copy link

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

VSCodeVim version: 1.22.1

Stack trace
TypeError: Failed to handle key `j`: Cannot read property 'substring' of undefined
    at C.display (/home/adrian/.vscode/extensions/vscodevim.vim-1.22.1/src/cmd_line/commandLine.ts:223:21)
    at statusBarText (/home/adrian/.vscode/extensions/vscodevim.vim-1.22.1/src/statusBar.ts:205:35)
    at Object.clear (/home/adrian/.vscode/extensions/vscodevim.vim-1.22.1/src/statusBar.ts:105:17)
    at j.updateView (/home/adrian/.vscode/extensions/vscodevim.vim-1.22.1/src/mode/modeHandler.ts:1579:15)
    at j.handleKeyAsAnAction (/home/adrian/.vscode/extensions/vscodevim.vim-1.22.1/src/mode/modeHandler.ts:673:16)
    at runMicrotasks (<anonymous>)
    at process.handledAsAction (internal/process/task_queues.js:93:5)
    at j.text [as handleKeyEvent] (/home/adrian/.vscode/extensions/vscodevim.vim-1.22.1/src/mode/modeHandler.ts:478:11)
    at /home/adrian/.vscode/extensions/vscodevim.vim-1.22.1/extensionBase.ts:372:73
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