When the user presses the back button there should be a confirmation dialog before the editor closes itself.
The confirmation action could be an OK button or pressing back a second time.
I actually find it annoying to press back twice to really exit. A feature that I might work on is the option to start the program with the last opened file and at the same cursor position. This will minimise the impact of accidental exits.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I actually find it annoying to press back twice to really exit. A feature that I might work on is the option to start the program with the last opened file and at the same cursor position. This will minimise the impact of accidental exits.