andreikop / enki

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

Enki should enable saving even if there are no changes #44

Closed vi closed 11 years ago

vi commented 12 years ago

Sometimes Enki does not detect that file is changed by external program (for example when editing sshfs-mounted files) and I need to change something back and forth to re-save the file. File->Save->Save should be just enabled always.

andreikop commented 12 years ago

done also, removed save action from the tool bar. Let's see, if now it is better

vi commented 12 years ago

Fails. Although "Save" menu item is enabled, it does not overwrite the file (checked with FAM and with strace).

andreikop commented 12 years ago

Ah, sorry. Should work now

vi commented 12 years ago

Works.

andreikop commented 11 years ago

I noticed, that if I save all files with Ctrl+Shift+S, enki saves even not modified source files, and then I wait for long time while build system rebuilds my project. I think, Ctrl+S shall save file always, but Ctrl+Shift+S shall save only modified files

andreikop commented 11 years ago

done