I am using
sublime text 4 ( recently released Version 4 ). BUT I am having a problem in permanently saving the file after close.
This problem was not in the
sublime text 3.
What is the Problem ?
When i make changes in the file and save it and close sublime text then Reopen again and press Ctrl + Z then it it undoing the changes that i have made, BUT i want it NOT to
undo the changes after close the file or close the sublime text.
sublime text 3, Whenever i make changes then close the file then it never undo the changes ( which is good ) BUT this is the problem in the
sublime text 4
I have also tried searching many times BUT i didn’t find any solution.
I know This is because in Sublime Text 4 (specifically from Build 4075 onwards), the undo history is stored in the session file (either the global session file if the current window is not associated with a project or the workspace file if it is). Sublime Text 3 did not have this ability.
Since the undo stack is stored in session, whenever i do some kind of edits on a file and exit the app, the undo continues to work for that file even after i open the app.
Thank You in Advance