benanders / LuaIDE

An in-game IDE for ComputerCraft
MIT License
43 stars 9 forks source link

[Feature] Quit Without Saving #23

Open Shnupbups opened 11 years ago

Shnupbups commented 11 years ago

When you click exit while editing and the file in its current state hasn't already been saved, something should come up with the options Save and Quit or Quit Without Saving.

What I mean is I want a feature to be able to quit without saving. I don't know about you, but I make typos sometimes in CC, for example when I'm trying to edit startup I may type, and this happens a lot, 'edit stratup'. It will then create a 'stratup' file and if I try to quit, it will have a 'stratup' file saved on the pc that I may not notice/have to delete.

benanders commented 11 years ago

It should save automatically before exiting... I'll check that.

superaxander commented 11 years ago

It does

Shnupbups commented 11 years ago

Facepalm What I meant is I want a feature to be able to quit without saving. I don't know about you, but I make typos sometimes in CC, for example when I'm trying to edit startup I may type, and this happens a lot, 'edit stratup'. It will then create a 'stratup' file and if I try to quit, it will have a 'stratup' file saved on the pc that I may not notice/have to delete.

benanders commented 11 years ago

Ohhh I see what you mean. Hmmm, maybe a quit and delete option? I don't really want a popup box to appear, it seems a bit intrusive and annoying every time you open a file then close it.