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 + Z too many times erase the file content #27

Open
PippoGot opened this issue Oct 4, 2024 · 3 comments
Open

CTRL + Z too many times erase the file content #27

PippoGot opened this issue Oct 4, 2024 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@PippoGot
Copy link

PippoGot commented Oct 4, 2024

The 3rd time it happens now, when making changes to the file and then pressing CTRL + Z multiple times (1 more than the number of changes) completely wipes out the file content and also proceeds to save it, so it's impossible to recover it without a backup.

@PippoGot PippoGot changed the title CTRL + Z too many times erase the file content CTRL + Z too many times erase the file content #bug Oct 4, 2024
@PippoGot PippoGot changed the title CTRL + Z too many times erase the file content #bug CTRL + Z too many times erase the file content Oct 4, 2024
@Zachatoo Zachatoo added the bug Something isn't working label Oct 4, 2024
@Zachatoo
Copy link
Owner

Zachatoo commented Oct 4, 2024

Can you use the redo hotkey (CtrlY) to recover it? Both the undo and redo hotkeys should be supported.

@PippoGot
Copy link
Author

PippoGot commented Oct 4, 2024

Will definitely try and let you know as soon as possible. Actually i thought i was doing it by using CTRL + SHIFT + Z as i'm used to that but my bad i didn't check the shortcut.

Anyway i think it would be best to change the behaviour so that it wouldn't erase everything.

@PippoGot
Copy link
Author

PippoGot commented Oct 4, 2024

Tried with CTRL + Y and it works.

@Zachatoo Zachatoo added the good first issue Good for newcomers label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants