Is there a lightweight notepad program that:
- saves files encrypted with a password
- asks for the password on Open
- doesn't ask for the password on Save (since it's already open, no need to re-enter the password) except if it's a new file
- never saves unencrypted content to disk (this is very important: even if deleted, a file saved on disk can sometimes be undeleted)
- is open-source (security without open-source is rather pointless)
Unforuntately Sublime Text and Notepad++ doesn't seem to support this with a good UI/UX (there are plugins, but the UX is not very good: you manually have to do "Decrypt" after the file is opened and first displayed as crypted content, then you have to Encrypt before each save, etc.)
Note: this question is close to Notepad with Encryption but has more precise UX requirements (such as open-source, etc.)