Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctrl-F is half-ignored for undo #9

Open
drj11 opened this issue Feb 22, 2023 · 1 comment
Open

Ctrl-F is half-ignored for undo #9

drj11 opened this issue Feb 22, 2023 · 1 comment

Comments

@drj11
Copy link
Contributor

drj11 commented Feb 22, 2023

behaviour:

  • Ctrl-N to join two lines
  • a few Ctrl-F to change the case (as it happens this was a nano inspired mistake, but whatever)
  • Esc u Enter to undo

i was wondering if the undo would undo a single Ctrl-F or the whole sequence of them. What it actually did was undo all of them and also the Ctrl-N. As if the Ctrl-F in and of themselves could not be undone, and the before was restore to the point before the last edit that counted, which was Ctrl-N.

I say half-ignored because this is a bit like Ctrl-F being ignored by undo, for the purposes of decided how far back to undo, but actually correctly undoing the action of them (in addition to some other edit).

@deadpixi
Copy link
Owner

Ah. This could be pretty easily fixed I think. I’ll take a look tonight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants