Revenge of Notepad

I use notepad.exe dozens of time a day. Given the severely limited functionality of Notepad, it's incredible that it has taken me this long to find a suitable replacement for what is, evidently, a core part of my developer toolkit. Check out Notepad2:

The original Notepad shipped with Windows is probably the handiest program of all times, small, fast, without frills! Notepad2 tries to follow this principle, it's a small, fast and free text editor with syntax highlighting for HTML and other common languages.

Amen, brother! And don't worry, it's still relatively small at 550kb. But look at everything you get for that additional 450kb:

  • Customizable syntax highlighting engine (HTML, XML, CSS, JavaScript, VBScript, ASP, PHP, CSS, Perl/CGI, C/C++, C#, Java, VB, Pascal, Assembler, SQL, Python, NSIS, INI, REG, INF, BAT, DIFF)
  • Drag & drop text editing inside and outside Notepad2
  • Basic regular expression search and replace
  • Useful word, line and block editing shortcuts
  • Rectangular selection (Alt+Mouse)
  • Brace matching, auto indent, long line marker, zoom functions
  • Support for Unicode, UTF-8, Unix and Mac text files
  • Open shell links
  • Mostly adjustable

Still not convinced? Here's a screenshot of me viewing some Perl scripts that come with the Tivo Home Media Option developer kit:

I recommend overwriting the original notepad.exe with this version, for simplicity's sake. You'll get some complaints from the XP file protection mechanism, but it works. And it kicks ass! I should have done this two years ago.

I downloaded the VC++ source and compiled the latest version with every optimization I could locate in the project properties dialog (Hey, I don't get to work with C++ much). You can download a zipped version of my compiled notepad2.exe (~250kb), or if you prefer, get it from the official website.

Read more

Stay Gold, America

We are at an unprecedented point in American history, and I'm concerned we may lose sight of the American Dream.

By Jeff Atwood · · Comments

The Great Filter Comes For Us All

With a 13 billion year head start on evolution, why haven't any other forms of life in the universe contacted us by now? (Arrival is a fantastic movie. Watch it, but don't stop there - read the Story of Your Life novella it was based on

By Jeff Atwood · · Comments

I Fight For The Users

If you haven't been able to keep up with my blistering pace of one blog post per year, I don't blame you. There's a lot going on right now. It's a busy time. But let's pause and take a moment

By Jeff Atwood · · Comments

The 2030 Self-Driving Car Bet

It's my honor to announce that John Carmack and I have initiated a friendly bet of $10,000* to the 501(c)(3) charity of the winner’s choice: By January 1st, 2030, completely autonomous self-driving cars meeting SAE J3016 level 5 will be commercially available for passenger

By Jeff Atwood · · Comments