Home Download Buy Blog Forum Support

Is there a possibility to revert changes made to a file?

Is there a possibility to revert changes made to a file?

Postby knowoo on Sat May 10, 2014 2:10 pm

Sublime Text 2 here.

Through some horrible circumstances one of my files has been changed without me knowing, possibly by repeatedly having pressed Ctrl+Y or something like that. Is there are any internal buffer in Sublime Text flushed to disk where I can have the changes reversed?

Sublime Text was restarted so I can't undo/redo anything.
knowoo
 
Posts: 1
Joined: Sat May 10, 2014 2:04 pm

Re: Is there a possibility to revert changes made to a file?

Postby adzenith on Sat May 10, 2014 6:17 pm

No, not if the file's been saved to disk (with session restore, the file in Sublime may not be the same as the file on disk).

But you can help yourself in the future: https://github.com/vishr/local-history
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 22 guests