Textedit crashed and lost a previously saved file
Have you tried looking at File > Open Recent menu item in TextEdit?

Next you can use spotlight to search for the file name or any word in the document. Lastly, look for time machine either local or  external backups.