I need to use a text editor that is capable of always saving documents using Windows CRLF line endings. So now I'm using TextWrangler. I am opening files from volumes encrypted with TrueCrypt, and I need the content, and the fact that I'm opening these files, to remain secret.

TextWrangler, on the other hand, conveniently stores information about all documents opened in a file called 'Document State.plist'. The file is XML.

TextWrangler's manual says the following about 'Document State.plist', and nothing else:

"TextWrangler stores state information for individual documents in this file."

There is no way to disable the storing of this information in the preferences. Furthermore, there is a section for some files that is ASCII encoded, but I don't know what is stored in this field.

So my question is, are there any good open source text editors for Mac that allow you to specify line endings, or is there a way to prevent TextWrangler from creating this file?

closed as too broad by nohillside Mar 30 '14 at 8:12

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • emacs will do the line endings - however why use CRLF most Windows editors can deal with pal CR – Mark Mar 29 '14 at 21:18
  • 1
    vim or textmate – dwightk Mar 30 '14 at 0:18
  • As written it's unclear whether you would prefer answers on preventing state getting written or on alternative editors, which makes it difficult to answer this question in an acceptable way. The editor question has come up before on this site so you might even find an existing answer to help you. – nohillside Mar 30 '14 at 8:12

TextMate is a good editor on its own right, and has been open-sourced with an active development community.

Not the answer you're looking for? Browse other questions tagged .