What you want is likely Notepad++ which has all those things which you mention as far as I can tell. It works great on Windows and has slews of free plugins as well.
Source code: https://github.com/notepad-plus-plus/notepad-plus-plus
What is Notepad++
Notepad++ is a free (as in “free speech” and also as in “free beer”)
source code editor and Notepad replacement that supports several
languages. Running in the MS Windows environment, its use is governed
by GNU General Public License.
Based on the powerful editing component Scintilla, Notepad++ is
written in C++ and uses pure Win32 API and STL which ensures a higher
execution speed and smaller program size. By optimizing as many
routines as possible without losing user friendliness, Notepad++ is
trying to reduce the world carbon dioxide emissions. When using less
CPU power, the PC can throttle down and reduce power consumption,
resulting in a greener environment.
Features included but not limited to
The ability to show line endings characters in documents:
The ability to change font style and sizes
The ability to easily wrap lines:
View menu → Word wrap
The ability to compare the content of one or more text documents:
- Easy to install and use plugin named Compare
The ability to record and playback macros to complete repetitive tasks
The ability to hide the toolbar up top (should that be anyone's preference):
Many other plugins
You can find and install from a plethora of many different useful and cool extensible plugins by
Lastly, there are many posts, tutorials, and videos out there on the web regarding Notepad++ and it's features. This means finding other useful detail regarding a lot of its functionality is widely available and easy to find should you need to look something up for assistance or clarification.