It was reported that Corman Lisp IDE changes line endings to Windows style when editing files. It should try to preserve the line ending style.
Some additional information: https://docs.microsoft.com/en-us/cpp/mfc/reference/cricheditctrl-class?view=vs-2017#setoptions (See ECO_WANTRETURN).