In Sublime Text 2 How to view carriage return and line feed?
Solution 1:
In case anyone is here years later, I found success with the sublime package RawLineEdit.
- Install with Package Control
- Enter
Raw Line Edit: Toggle
into the command palette (via Ctrl+Shift+P)
Further documentation of features can be found in the User Guide.
Note that this package is only supported in Sublime Text 3.
Solution 2:
Sublime Text does not currently support displaying EOL characters.
http://sublimetext.userecho.com/topic/104394-is-it-possible-to-show-all-characters-spaces-tabs-cr-lf-etc/
Solution 3:
There is a quick workaround, in the search, enable the Regular expression
and the search value use \n
. You will see all the line feed is highlighted.
Solution 4:
05 2021
This might not really helpful for OP question and also the question is 8yrs old and iam assuming he must have got a answer pretty early on.
This is anyone still looking for the answer to show the carriage return in Sublime text 3.
As on May 2021 the current version is 3.2.2
Detailed version of @Sam YC answer
Tested in Sublime text 3
- Press Ctrl+ F (Windows)
- Select the first box 'Regular Expression (Alt+R)'
- Also select 'Highlight matches' (Last box with plain border)
- Enter
\n
- You should see something like this. If you do not see anything, just toggle the 'Highlight matches'.