Add the ability to have both CRLF and LF

You can have both CRLF and LF in a file. Could the ability for this be added to CM? The idea is that if someone uses git to upload a file to a code review. And said code review uses CodeMirror to allow editing the file through the file, those line endings wouldn’t show correctly because only one at a time is supported.

CodeMirror doesn’t store any information about line endings (beyond “there is a line ending here”). If you don’t configure a line separator, both CRLF and LF will be taken to be line endings, but you won’t get the precise original document back from the editor, because the distinction between the two will be lost. This isn’t something I’m going to change.