try doublechecking if you really not mistakenly clicked on a file, maybe tried to scroll up by pressing "W" and edited the file, wanted to close the file and mistakenly clicked on "save and leave"
it can go quite fast at times, i guess it really COULD happen at some point
what i would do is, check the folders in your mod, check if theres any extra files which you dont recognize