Open davidak opened 5 years ago
I confirm this happens. I also tried to save a file overwriting a file to which I didn't have write permission and it's not visible that save failed. Document's filename was also changed to this new filename.
Looking at the code, error message won't be shown in any case if saving fails.
I could work on this and add an error message and not change the filename of the document.
I tried to save a file and thought it was saved, since i got no message that saving failed. So i closed the editor, which lead to data loss!
As i started code from console, i got this errors:
Please also show it to users of the GUI and warn them to close the editor in such a case!
Code 3.1.1 on NixOS 19.03.173165.55b8860aa20