Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Failed to handle key `<C-a>`: Overlapping ranges are not allowed!

Open writetosudeepto opened this issue 3 years ago • 0 comments

To Reproduce Steps to reproduce the behavior:

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

VSCodeVim version: 1.23.1

Stack trace
Error: Failed to handle key `<C-a>`: Overlapping ranges are not allowed!
    at L._applyEdit (c:\Users\bender\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:83:55949)
    at Object.edit (c:\Users\bender\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:83:53600)
    at executeTransformations (c:\Users\bender\.vscode\extensions\vscodevim.vim-1.23.1\src\transformations\execute.ts:111:31)
    at N.runAction (c:\Users\bender\.vscode\extensions\vscodevim.vim-1.23.1\src\mode\modeHandler.ts:745:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at N.rerunRecordedState (c:\Users\bender\.vscode\extensions\vscodevim.vim-1.23.1\src\mode\modeHandler.ts:1112:55)
    at transformer (c:\Users\bender\.vscode\extensions\vscodevim.vim-1.23.1\src\transformations\execute.ts:158:12)
    at N.actionToRecord [as runAction] (c:\Users\bender\.vscode\extensions\vscodevim.vim-1.23.1\src\mode\modeHandler.ts:744:55)
    at N.handledAsAction [as handleKeyAsAnAction] (c:\Users\bender\.vscode\extensions\vscodevim.vim-1.23.1\src\mode\modeHandler.ts:690:43)
    at N.mh [as handleKeyEvent] (c:\Users\bender\.vscode\extensions\vscodevim.vim-1.23.1\src\mode\modeHandler.ts:507:11)
    at r (c:\Users\bender\.vscode\extensions\vscodevim.vim-1.23.1\extensionBase.ts:488:15)
Additional context
currentMode: "Insert"
cursors: [
  "[[3, 18] | [3, 18]]"
]
actionsRunPressedKeys: []
actionsRun: [
  "B"
]
textTransformations: [
  {
    "type": "insertText",
    "position": {
      "line": 3,
      "character": 18
    },
    "text": "",
    "diff": {
      "type": 0,
      "line": 3,
      "character": 6
    },
    "cursorIndex": 0
  },
  {
    "type": "replaceText",
    "range": [
      {
        "line": 3,
        "character": 6
      },
      {
        "line": 8,
        "character": 32
      }
    ],
    "text": "",
    "diff": {
      "type": 0,
      "line": 3,
      "character": 6
    },
    "cursorIndex": 0
  }
]

writetosudeepto avatar Jul 16 '22 16:07 writetosudeepto