Today while using TextMate 1.5.2 to edit a .as file in my project, I noticed that the the file name in the file tab ended with a tilde (~).
I also noticed that the edits that I was making to my text file were no longer "taking". That is, I could edit text, save the file, but the edits would have no effect... as if they had never been made. Frustrating.
I closed the file, re-opened and now TextMate (and my edits) are back to normal. The edits I had made to the file were gone, but I was able to get back to work and re-enter my edits.
What is the significance does the tilde at the end of the filname in the file tab have? Is this a feature? or a bug?
thanks very much,
Steven osx 10.4.7 Power PC
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On 3/8/2006, at 0:43, Steven Loe wrote:
[...] What is the significance does the tilde at the end of the filname in the file tab have? Is this a feature? or a bug?
Many text editors keep a backup [1] of the file by adding ~ to the end of the name.
TextMate does not. So my guess would be: you edited the file with another editor, this editor did not clean up the ~ version, then you opened the backup instead of the original file in TM, and edited that.
Either the ~ file is still there (with the changes you said was reverted) or you may have again edited the file in the other editor, which removed the backup.
[1] It’s not really a backup, it’s more of keeping a version of the changes on disk while the file is being edited by the user, incase the system/editor is unexpectedly terminated.