Closed rsn8887 closed 6 years ago
Text mode files are required to use a single delimiter to show where lines end, that's why it's called the "line ending".
Atom is smart enough to be able to read files that have multiple different line endings within them, and will only touch them on lines you edit, but changing the line ending using the selector changes it for all lines in the file. That is exactly what you are asking it to do after all 😉.
If you need to insert multiple different line endings in a document you'll need to open it in something that edits the file as binary data since you are explicitly not treating it as a text mode document.
Prerequisites
Description
Cannot change line ending of a single line
Steps to Reproduce
Expected behavior: [What you expect to happen]
Line endings should only change in the selected text. How else am I supposed to change the ending of a single line (sic)
Actual behavior: [What actually happens]
Line endings can only be changed in the whole file or nowhere
Reproduces how often: [What percentage of the time does it reproduce?]
every time
Versions
You can get this information from copy and pasting the output of
atom --version
andapm --version
from the command line. Also, please include the OS and what version of the OS you're running.Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.