4 ms·
> Other editors, if the content is not on the screen, will not perform the undo action unless the content is actually visible. Really? What editor does this? V
by aquova 1y ago
> Other editors, if the content is not on the screen, will not perform the undo action unless the content is actually visible.
Really? What editor does this? Vim/Neovim definitely will undo the change with a single 'u' press, and every GUI editor I've ever used will undo the change immediately with a single ctrl+z.
- suby 1y agoAh, thanks for the correction. I'm wrong on how common this is. I just tested CLion, VS Code, and Sublime Text. I thought all three behaved as described, but only CLion did. I wish it was more common though, I find it a lot more intuitive and clear on what's happening.
- aquova 1y agoHuh, that's interesting. I've only used VSCode and Sublime, never CLion. I'm honestly not sure how I'd feel going the other way, but I could see the behavior being annoying if you're not expecting it.
- deleted 1y ago[deleted]
- peterashford 1y agoJust tried Goland and it works the way you describe. Emacs is immediate restore. CLion and Goland are both JetBrains IDEs, so no surprise they use the same mechanism. FWIW, I like it and think it's preferable.