<!-- Please provide a detailed description of the bug. --> <!-- Note: This template is not meant for security vulnerabilities disclosure --> <!-- Any such issue, created in this repo, will be deleted on sight --> <!-- Instead please report vulnerabilities to the Eclipse Foundation's security team --> <!-- For more details, please read SECURITY.md in the repository root --> ### Bug Description: `Undo` does not work from menu item. I tired from: - `Edit` > `Undo`, and - context-menu `Undo`. <!-- Please provide clear steps to reproduce the bug. --> ### Steps to Reproduce: 1. Open the IDE, open an editor, select a word, and `Cut` it from the context menu. 2. Try to `Undo` it from `Edit` > `Undo` or context-menu `Undo`, 3. It does not work. It does work for VS Code. https://user-images.githubusercontent.com/1405703/171003511-f293111d-bad3-41d0-9032-539b2d7b1cd8.mp4 <!-- Please provide any additional information available. --> <!-- Additional information can be in the form of logs, screenshots, screencasts. --> ### Additional Information - Operating System: macOS 12.3.1 - Theia Version: `HEAD` as of writing (dbc5742)