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=<C-a>. Overlapping ranges are not allowed! #6932

Closed
Sanjay-Kickdrum opened this issue Jul 29, 2021 · 1 comment
Closed

Comments

@Sanjay-Kickdrum
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.21.5

Stack trace
Error: Failed to handle key=<C-a>. Overlapping ranges are not allowed!
    at n._applyEdit (/snap/code/70/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:84:52275)
    at Object.edit (/snap/code/70/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:84:49967)
    at Object.executeTransformations (/home/hp/.vscode/extensions/vscodevim.vim-1.21.5/src/transformations/execute.ts:125:31)
    at j.runAction (/home/hp/.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] (/home/hp/.vscode/extensions/vscodevim.vim-1.21.5/src/mode/modeHandler.ts:652:43)
    at j.mh [as handleKeyEvent] (/home/hp/.vscode/extensions/vscodevim.vim-1.21.5/src/mode/modeHandler.ts:471:11)
    at r (/home/hp/.vscode/extensions/vscodevim.vim-1.21.5/extensionBase.ts:501:15)
Additional context
currentMode: "Insert"
cursors: [
  "[[10, 7] | [10, 7]]"
]
actionsRunPressedKeys: [
  "<C-a>",
  "<C-a>"
]
actionsRun: [
  "C",
  "C",
  "C",
  "C",
  "C",
  "C",
  "$"
]
textTransformations: [
  {
    "type": "insertText",
    "position": {
      "line": 5,
      "character": 70
    },
    "text": "f2f2",
    "cursorIndex": 0
  },
  {
    "type": "replaceText",
    "range": [
      {
        "line": 5,
        "character": 69
      },
      {
        "line": 5,
        "character": 74
      }
    ],
    "text": "
@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