Well, you can mark the file itself as being read-only which will apply system wide and you wont be able to save it.
If you're wanting to actually prevent being able to modify the open document then I'd say probably no. TextMate is a "text editor" by definition so you'd not really expect to find an option that removes the ability to edit.
I'f you're wanting a strict text-reader, why specifically are you you using TextMate? Is there maybe a better tool for what you're trying to do?
- Cliff
On Jul 18, 2007, at 1:53 PM, Pete Siemsen wrote:
I sometimes use Textmate to view readonly files. I'll never want to change the files, just view, navigate, fold, etc. Is there a way to tell Textmate that the files are read-only, so that Textmate prevents me from accidentally modifying the edit buffer? Just remembering to click "Don't save" when I exit Textmate isn't really what I want.
-- Pete
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate