The free, open source Notepad2 is my favorite text editor. I use Notepad2 to edit HTML, PHP, JavaScript etc. Unfortunately, Notepad2 does not have syntax highlighting for all file types supported by Scintilla. Wesner Moise offers a version of Notepad2 with Ruby support. I have created a modified version of Notepad2 that is based on Wesner Moise’s changes to Ruby and Makefile support and Scintilla 1.65 and added Syntax highlighting for YAML, Bash shell scripts and Apache configuration files. I have compiled an English and German version (I have extracted the German strings from the official German Notepad2 build using Resource Hacker). I also added the extensions .rhtml (for Ruby on Rails), .php4 and .php5 to the HTML lexer (if you have previously used Notepad2, you may have to add them manually under View -> Customize Schemes). It does however not highlight the included Ruby code in .rhtml files, because the Scintilla HTML Lexer does not yet support included Ruby in HTML. It should be possible to include that feature in LexHTML.cxx somehow, but that Lexer is quite complex. I don’t know if someone is working on that. If you find something, please let me know.
Download modified Notepad2 (includes English and German binaries + source code)
This version comes with syntax highlighting support for HTML, XML, CSS, JavaScript, VBScript, ASP, PHP, CSS, Perl, C, C++, C#, Java, Visual Basic, Pascal, Assembler, SQL, Python, NSIS, INI, REG, INF, BAT, DIFF, Ruby, YAML, Bash and Apache configuration files.
Update: I have replaced the download with a newer version which includes an improved Ruby lexer. See my post Improved Ruby syntax highlighting for Notepad2. If you need the old version, here it is.