In a related development, now I'd like to know what I have to change in order to be sure that whenever I open a new file in TextEdit I won't see this:

The file “index.html” is locked because you haven’t made any changes to it recently.

If you want to make changes to this document, click Unlock. To keep the file unchanged and work with a copy, click Duplicate.