If I change one character in an open, previously saved TM document, switch away from TM to the Finder, and then switch back to TM, I get this warning:
"The file for the document at ~/Desktop/yourfile.rb has been modified by another application. There are also unsaved changes in TextMate. Do you want to keep the TextMate version or revert to the version on disk?"
This warning is well-intentioned but (under these circumstances) false. m.
On 9. Nov 2006, at 17:38, Matt Neuburg wrote:
If I change one character in an open, previously saved TM document, switch away from TM to the Finder, and then switch back to TM, I get this warning: [...] This warning is well-intentioned but (under these circumstances) false. m.
The problem is with how RubyMate saves the file, updating the date on disk, but TM not noticing it until focus is switched away/back.
One present workaround is to set RubyMate to “save current file”, then it won’t happen, but you lose the ability to run untitled documents.