

When using less CPU power, the PC can throttle down and reduce power consumption, resulting in a greener environment. By optimizing as many routines as possible without losing user friendliness, Notepad++ is trying to reduce the world carbon dioxide emissions. However, I hope this is a useful starting point for anyone else who reads (this answer has received consistent attention since writing).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. I imagine the code has changed significantly since I wrote this answer as well unfortunately I didn't note the version, but I'm sure it was the latest available at time of writing this answer, which, according to "All versions", was probably either 6.4.1 or 6.4.2. I should have a working build up soon!Įdit 3: It seems Notepad++'s provided VS project file was created with an earlier version of Visual Studio, and in updating the files, Visual Studio 2012 creates many problems, so if you go that route, use VS2010.Įdit 4: I didn't make it obvious in Edit 3, but I gave up after realizing just how difficult it was going to be to get around the VS errors. I won't post them here unless someone eventually asks about them, in which case I'm happy to do so.

Don't worry about the warnings ("extra tokens after #endif") - they're just comments.Įdit 2: I'm using VS2012, in which the build process results in numerous errors. Here are the two I fixed so far: #include "TinyXml/tinyXmlA/tinyxmlA.h" (line 33)Ĭhange those lines in Parameters.h to what I've written to deal with them. That's all I noticed that might be of interest so far, but again, I'll look at it more tomorrow and get back to you.Įdit: the official makefile will give some errors, because /PowerEditor/src/Parameters.h references files incorrectly.

On, Notepad++ v8 was released, with dark mode support.
