Disable Text Editor restoring previous session
Description
In the new Text Editor it now restores the previous session every time its launched. When I mean session I'm not referring to last booted session. The text editor automatically opens the last saved file or the last opened file upon launch/starting/opening Text Editor.
Steps to Reproduce
- Open the text editor.
- Type some text in the editor.
- Save the file (e.g.,
example.txt
). - Close the text editor.
- Reopen the text editor.
Actual Result
The text editor opens with the last file that was saved (example.txt
), displaying the content that was last edited.
Expected Result
The text editor should open with a blank slate or a new document instead of automatically opening the last saved file in a tails session