Time for a new editor.
I’ve used NotePad++ for a long time. It’s light weight and doesn’t mess with my line feeds or carriage returns. I thought I had it all.
Recently someone on the inter-webs recommended a new editor for use with various code languages. Atom by Github.
I don’t program full time so this might be old news to everyone reading this but for me, this was a great find and suggestion. It is completely open source (hosted up on github) so errors, bugs and enhancements are rolled out pretty rapidly due to a highly active community.
The thing I like most about it is the packages you can download for it. It can pretty much be customized for anything you like. Write yaml? Install a real-time linter into the editor. Work with Powershell, there are syntax highlights for that as well. In fact, pretty much every little language/syntax/highlighter I wanted to work with, I found in the community. AutohotKey, no problem.
I’m not saying this is better than the editor you use, I just liked it so much that I wanted to pass along the great suggestion given to me. If you are looking to change things up, check it out.