That does not sound good. Just yesterday I had a text editor stop responding on me during a save to a pen drive, and I had to force close it. Totally ruined the file I was saving, but I did have fairly recent back up to replace it.
One can never tell what a crash will do. Most often you get away with it, but occasionally ...
Text files are most likely to be salvageable if they have not been overwritten be something else. But files containing data instructions, as word processor documents tend to do, can become difficult if not impossible to restore to a state where the word processor can still read them. Corruption ensures it can't make head nor tail of the data.
Sometime you can make a copy and edit out all the non text items in the file, to get a draft form back. Whether it is worth it depends on the importance of the document and its size.
For future reference it is always best to check back-ups before writing new files to a disk that has experienced problems.
Apart from that I can only recommend a good recover programme, R-Studio, which has helped me in the past; but it does depend on the original file not having been corrupted, but just no longer known to the system.
But I have to say the outlook doesn't look overly bright. But best of luck.