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=<Esc>. Overlapping ranges are not allowed! #6933

Closed
ddeline opened this issue Jul 29, 2021 · 1 comment
Closed

Failed to handle key=<Esc>. Overlapping ranges are not allowed! #6933

ddeline opened this issue Jul 29, 2021 · 1 comment

Comments

@ddeline
Copy link

ddeline commented Jul 29, 2021

To Reproduce
Steps to reproduce the behavior:

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

VSCodeVim version: 1.21.5

Stack trace
Error: Failed to handle key=<Esc>. Overlapping ranges are not allowed!
    at n._applyEdit (c:\Users\DDELINE\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:84:52275)
    at Object.edit (c:\Users\DDELINE\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:84:49967)
    at Object.executeTransformations (c:\Users\DDELINE\.vscode\extensions\vscodevim.vim-1.21.5\src\transformations\execute.ts:125:31)
    at j.runAction (c:\Users\DDELINE\.vscode\extensions\vscodevim.vim-1.21.5\src\mode\modeHandler.ts:727:13)
    at runMicrotasks (<anonymous>)
    at process.actionToRecord (internal/process/task_queues.js:93:5)
    at j.handledAsAction [as handleKeyAsAnAction] (c:\Users\DDELINE\.vscode\extensions\vscodevim.vim-1.21.5\src\mode\modeHandler.ts:652:43)
    at j.mh [as handleKeyEvent] (c:\Users\DDELINE\.vscode\extensions\vscodevim.vim-1.21.5\src\mode\modeHandler.ts:471:11)
    at c:\Users\DDELINE\.vscode\extensions\vscodevim.vim-1.21.5\extensionBase.ts:495:53
Additional context
currentMode: "Normal"
cursors: [
  "[[1140, 59] | [1140, 58]]"
]
actionsRunPressedKeys: [
  "n",
  "<Esc>"
]
actionsRun: [
  "ee",
  "$",
  "C",
  "$",
  "y"
]
textTransformations: [
  {
    "type": "insertText",
    "position": {
      "line": 1140,
      "character": 58
    },
    "text": "OG_",
    "cursorIndex": 0
  },
  {
    "type": "replaceText",
    "range": [
      {
        "line": 1140,
        "character": 57
      },
      {
        "line": 1140,
        "character": 61
      }
    ],
    "text": "terms.LOG_LEVEL_ERROR",
    "cursorIndex": 0
  }
]
@J-Fields
Copy link
Member

J-Fields commented Aug 3, 2021

Duplicate of #6888

@J-Fields J-Fields marked this as a duplicate of #6888 Aug 3, 2021
@J-Fields J-Fields closed this as completed Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants