TextMate/TextWrangler Document Reverts
For TextWrangler there is a setting in the preferences — it's the second from the top in the following screenshot.



There is probably a setting in TextMate too, but as of version 2, it's probably a defaults setting, since almost everything has ben stripped from the preferences GUI.