andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 39 forks source link

Add: Autosave plugin that automatically saves opened files if Enki loose focus #430

Closed rockiger closed 6 years ago

rockiger commented 6 years ago

I created an autosave plugin that automatically saves opened files if Enki loose focus. It connects to the focusWindowChanged event and saves the files if the focused window is None.

The plugin in is deactivated by default.

Hope it helps.

andreikop commented 6 years ago

I"m making a Qutepart release now. Than will look at this PR

rockiger commented 6 years ago

I will close the pull request. I am working on a plugin manager for Enki right now, that users can add plugins to the user directory without affecting Enki. The plugin manager doesn't mess with plugins that come with Enki.

spectacle q24764

This way the Autosave plugin doesn't need to be added to Enki by default. Tell me what you think.

andreikop commented 6 years ago

Hey, we've released Qutepart and I was about to merge this PR I'd prefer plugins in the Enki code base on this stage.