Opening PHP File in Text Edit
I was opening a .php file in Lion using Text edit instead of my usual code editor. To my amazement it tried to open the file as a rtf file.
Then it told me the file was locked and then it automatically saved it as .rtf file and ended up corrupting the file and my php wasn't even reconizable.
To replace the file I grabed a backup and replaced the .php file and know never to open any .php files in text edit again.
The problem is that I was able edit php files in text edit in Snow Leopard without an corruption.
I do this type of editing very rarely. But I point this out to show the problems that this Lion has created with the automatic revisions.
That in addition to the lost of the Save As command leaves me somewhat hindered to use text edit as the basic editor of anything.
• htaccess files
• css
• html
• php
I'd love somehelp if anyone can tell me how to stop text edit from coverting files?
iMac, Mac OS X (10.7.1)