Author Topic: Option to show ^M when opening DOS line endings files  (Read 49 times)

rowbearto

  • Senior Community Member
  • Posts: 589
  • Hero Points: 16
Option to show ^M when opening DOS line endings files
« on: July 27, 2017, 07:04:04 pm »
Hi:

I'd like an option so that I can visually see if a file has DOS line endings. So if a text file has <cr><lf> at the end of each line, I'd like to be able to see the <cr> somehow (as ^M or <cr>). But if the file is "correct" and only has <lf> at the end of each line, don't show anything special.

I tried C/C++ Options->View->Special Characters and checked "Newline Characters", but it shows the same symbol for both <cr><lf> and just <lf>.

Is there a way to currently configure to show the <cr>, or can I request a new option to do that?

Would also be useful if there was a macro command for this, so I could quickly turn it on or off if I want to quickly see if CR/^M is there or not. Currently I use Ctrl-Shift-H to go to hex mode but that takes more brain power to look for the 0d0a then if I could look for ^Ms at the end of a line.

Thanks,
Rob
« Last Edit: July 27, 2017, 07:44:14 pm by rowbearto »