Live data from Hacker News

Text Editor Data Structures: Rethinking Undo

cdacamar.github.io

81–84 of 84 posts

Re: Text Editor Data Structures: Rethinking Undo

#81
post #80
post #77

Earlier quoted context omitted.

What problem does a magical "does what I mean" undo solve that pressing ^W or ^H doesn't? At a minimum, your "superior workflow" is " ui" or "^Ou", both of which are more keystrokes and require your editor to read your mind.

Or my superior workflow is Alt-u or hold U, which is a single shortcut/keystroke, so you lose there as well The other issue with your attempt at solving undo without undo is that the deletion doesn't become part of redo, also a single word with a typo could be in the middle of a paragraph where you navigated with a trackpad, while ^W would delete near the current cursor position You don't need magic to fix the ubersi…

^W is ctrl-W.

Re: Text Editor Data Structures: Rethinking Undo

#82
post #81
post #80

Earlier quoted context omitted.

Or my superior workflow is Alt-u or hold U, which is a single shortcut/keystroke, so you lose there as well The other issue with your attempt at solving undo without undo is that the deletion doesn't become part of redo, also a single word with a typo could be in the middle of a paragraph where you navigated with a trackpad, while ^W would delete near the current cursor position You don't need magic to fix the ubersi…

^W is ctrl-W.

So what? How does it address the issue I've described?

Re: Text Editor Data Structures: Rethinking Undo

#84
post #83
post #82

Earlier quoted context omitted.

So what? How does it address the issue I've described?

It's the same number of keypresses as alt-U.

So now it's not "more keystrokes" as you originally claimed (and it's a higher number of keypressses vs holding U), and you still haven't addressed the issue with ^W I've described
Post reply on HN