Repository: VSCodeVim/Vim

Issue #6888: Failed to handle key=<Esc>. Overlapping ranges are not allowed!
Created: 2021-07-18T08:46:45Z
To Reproduce
I fear this might be challenging to reproduce but here is what I did:
Steps to reproduce the behavior:

edit a Java file (with Java extension enabled)
enter 2 characters
try to trigger auto-completion for Java symbol
See error

VSCodeVim version: 1.21.5
Stack trace
Error: Failed to handle key=<Esc>. Overlapping ranges are not allowed!
    at n._applyEdit (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:84:52275)
    at Object.edit (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:84:49967)
    at Object.executeTransformations (/Users/i540498/.vscode/extensions/vscodevim.vim-1.21.5/src/transformations/execute.ts:125:31)
    at j.runAction (/Users/i540498/.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] (/Users/i540498/.vscode/extensions/vscodevim.vim-1.21.5/src/mode/modeHandler.ts:652:43)
    at j.mh [as handleKeyEvent] (/Users/i540498/.vscode/extensions/vscodevim.vim-1.21.5/src/mode/modeHandler.ts:471:11)
    at /Users/i540498/.vscode/extensions/vscodevim.vim-1.21.5/extensionBase.ts:495:53


Additional context
currentMode: "Normal"
cursors: [
  "[[27, 6] | [27, 5]]"
]
actionsRunPressedKeys: [
  "i",
  "p",
  "e",
  "<Esc>"
]
actionsRun: [
  "D",
  "Ve",
  "$",
  "C",
  "$",
  "y"
]
textTransformations: [
  {
    "type": "insertText",
    "position": {
      "line": 27,
      "character": 6
    },
    "text": "i",
    "cursorIndex": 0
  },
  {
    "type": "replaceText",
    "range": [
      {
        "line": 27,
        "character": 4
      },
      {
        "line": 27,
        "character": 7
      }
    ],
    "text": "shippedNotificationTriggered",
    "cursorIndex": 0
  }
]

Duplicate issue #6911: Failed to handle key=.. Overlapping ranges are not allowed!
Created: 2021-07-25T17:29:05Z
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

VSCodeVim version: 1.21.5
Stack trace
Error: Failed to handle key=.. Overlapping ranges are not allowed!
    at n._applyEdit (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:84:52275)
    at Object.edit (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:84:49967)
    at Object.executeTransformations (/Users/cclauss/.vscode/extensions/vscodevim.vim-1.21.5/src/transformations/execute.ts:125:31)
    at j.runAction (/Users/cclauss/.vscode/extensions/vscodevim.vim-1.21.5/src/mode/modeHandler.ts:727:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at j.rerunRecordedState (/Users/cclauss/.vscode/extensions/vscodevim.vim-1.21.5/src/mode/modeHandler.ts:1097:55)
    at Object.transformer [as executeTransformations] (/Users/cclauss/.vscode/extensions/vscodevim.vim-1.21.5/src/transformations/execute.ts:207:12)
    at j.actionToRecord [as runAction] (/Users/cclauss/.vscode/extensions/vscodevim.vim-1.21.5/src/mode/modeHandler.ts:726:55)
    at j.handledAsAction [as handleKeyAsAnAction] (/Users/cclauss/.vscode/extensions/vscodevim.vim-1.21.5/src/mode/modeHandler.ts:652:43)
    at j.text [as handleKeyEvent] (/Users/cclauss/.vscode/extensions/vscodevim.vim-1.21.5/src/mode/modeHandler.ts:471:11)
    at /Users/cclauss/.vscode/extensions/vscodevim.vim-1.21.5/extensionBase.ts:370:73


Additional context
currentMode: "Insert"
cursors: [
  "[[14, 14] | [14, 14]]"
]
actionsRunPressedKeys: [
  "<Esc>"
]
actionsRun: [
  "ee",
  "q",
  "$",
  "C",
  "C",
  "$",
  "C",
  "C",
  "C",
  "C",
  "$",
  "C",
  "$",
  "C",
  "$"
]
textTransformations: [
  {
    "type": "insertText",
    "position": {
      "line": 14,
      "character": 14
    },
    "text": "d",
    "cursorIndex": 0
  },
  {
    "type": "replaceText",
    "range": [
      {
        "line": 14,
        "character": 12
      },
      {
        "line": 14,
        "character": 15
      }
    ],
    "text": "stdout",
    "cursorIndex": 0
  }
]

Closing comment (2021-07-26T15:17:12Z): Duplicate of #6888