In my previous post about Notepad2 (Notepad2 with Syntax highlighting for Ruby, YAML, Bash and Conf), I posted a modified version of the Notepad2 editor which included syntax highlighting for Ruby and some other languages.
I have now extended Scintilla’s Ruby lexer and Notepad2 to support seperate syntax highlighting for symbols, instance variables, class variables and global variables. I also added the keywords “private”, “protected” and “public” to Notepad2′s keyword list.
Download the new, modified Notepad2. This version includes English and German binaries and the complete source code including Scintilla.
Update: I have made some more small modifications to the Ruby lexer which fix some bugs. A single ‘:’ character is now no longer highlighted as a symbol, and expressions such as “@test.x” are now highlighted correctly (@test as a local variable, . as an operator and x as an identifier). Download the fixed version from above.