Sublime Forum

Revert File is dangerous! How to fix?

#1

I am using ST3 on Windows 11. I recently tried to tap ‘Close all files’ and accidentally tapped ‘Revert file’ by accident. As far as I know there is no undo for ‘Revert file’.

I would like to set things up so that either

  1. When ‘Revert file’ is tapped a warning dialog comes up: “Do you really want to revert ‘my_file.abc’? No Yes”

If that is not possible, then is it possible to

  1. Disable ‘Revert file’.

If neither of these is possible in ST3 are they possible in later editions?

0 Likes

#2

Undoing a revert seems to work fine here on both ST3210 and ST4200.

What I did…

  1. modify a saved file (without saving changes)
  2. call Main Menu > File > Revert File (changes from 1. are gone)
  3. run undo e.g. via ctrl+z (all changes are back).
0 Likes