Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to save when closing #40

Closed
dwaq opened this issue Apr 19, 2016 · 1 comment
Closed

Option to save when closing #40

dwaq opened this issue Apr 19, 2016 · 1 comment

Comments

@dwaq
Copy link

dwaq commented Apr 19, 2016

Many text editors give an option to save the file when quitting, if its been modified. You already have most of the logic in CanClose() and Save() to accomplish this. I could write the code if this is a feature you'd be interested in. Just didn't want to change the functionality if you had a reason to keep it as-is.

@zyedidia
Copy link
Owner

When closing a file with unsaved changes you can now enter s or save which will save and quit.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants