I notice that when I load a text file, Notepad++ will recognize and use whatever the newline character in that file is, \n
or \r\n
.
Is there some option where I can select which to use in a new document? (I've looked in help and googled, but can't find anything.)
on windows 10, Notepad 7.8.5, i found this solution to convert from CRLF to LF.
Edit > Format end of line
and choose either Windows(CR+LF)
or Unix(LF)
"Edit -> EOL Conversion". You can convert to Windows/Linux/Mac EOL there. The current format is displayed in the status bar.
Source: Stackoverflow.com