NSTextView subclass with basic syntax highlighting for C, C++, JavaScript and Lua